[epiphany] ephy-extensions-manager: plug memory leak



commit 2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d
Author: Xan Lopez <xan gnome org>
Date:   Sun Oct 10 18:54:44 2010 +0900

    ephy-extensions-manager: plug memory leak

 src/ephy-extensions-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index 35122c8..c626635 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -147,6 +147,8 @@ ephy_extensions_manager_toggle_load (EphyExtensionsManager *manager,
 		g_settings_set (EPHY_SETTINGS_MAIN,
 				EPHY_PREFS_ENABLED_EXTENSIONS,
 				"as", &builder);
+
+	g_variant_builder_end (&builder);
 }
 
 /**
@@ -666,6 +668,7 @@ sync_loaded_extensions (EphyExtensionsManager *manager)
 					 EPHY_PREFS_ENABLED_EXTENSIONS);
 	}
 
+	g_variant_builder_end (&builder);
 
 	for (l = manager->priv->data; l != NULL; l = l->next)
 	{



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