From 2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 10 Oct 2010 18:54:44 +0900 Subject: ephy-extensions-manager: plug memory leak --- src/ephy-extensions-manager.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c index 35122c87d..c626635b3 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) { -- cgit