[epiphany/gnome-3-22] Leak EphyUriTester



commit 7cc74ea100543365598123e003755162b7cd23a8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Oct 24 21:49:33 2016 -0500

    Leak EphyUriTester
    
    This avoids a commonly-reported crash

 embed/web-extension/ephy-web-extension.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 75524fc..343a40d 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -1284,7 +1284,9 @@ ephy_web_extension_dispose (GObject *object)
 {
   EphyWebExtension *extension = EPHY_WEB_EXTENSION (object);
 
-  g_clear_object (&extension->uri_tester);
+// Leaked in gnome-3-22 to avoid crashes when destroyed in the exit handler.
+// Fixed in master by moving the UriTester to the UI process.
+//  g_clear_object (&extension->uri_tester);
   g_clear_object (&extension->overview_model);
   g_clear_pointer (&extension->form_auth_data_cache,
                    ephy_form_auth_data_cache_free);


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