[epiphany] embed-shell: don't clobber origin in password manager queries



commit e2966394b60adaa4ca4215ccdc4f5134c8951586
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Jun 10 14:40:06 2019 -0500

    embed-shell: don't clobber origin in password manager queries
    
    Oops

 embed/ephy-embed-shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 8a38d76d6..45cc66600 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -430,7 +430,7 @@ web_process_extension_password_manager_query_received_cb (WebKitUserContentManag
   data->promise_id = promise_id;
   data->page_id = page_id;
   data->frame_id = frame_id;
-  data->origin = g_steal_pointer (&origin);
+  data->origin = g_strdup (origin);
 
   ephy_password_manager_query (priv->password_manager,
                                NULL,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]