aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-10-10 17:54:44 +0800
committerXan Lopez <xan@gnome.org>2010-10-10 17:54:44 +0800
commit2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d (patch)
tree4da32c9b686b411e3094ae02bacd709eaa96ba63
parent98811918bc8c5065eb4b21feb35c9f4def67341f (diff)
downloadgsoc2013-epiphany-2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d.tar.gz
gsoc2013-epiphany-2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d.tar.zst
gsoc2013-epiphany-2c7cb83d8ee4f80430d8ab61cb7a97fb014c6a3d.zip
ephy-extensions-manager: plug memory leak
-rw-r--r--src/ephy-extensions-manager.c3
1 files changed, 3 insertions, 0 deletions
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)
{