aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ephy-extensions-manager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ephy-extensions-manager.c b/src/ephy-extensions-manager.c
index 850de7fa0..c50d25a3c 100644
--- a/src/ephy-extensions-manager.c
+++ b/src/ephy-extensions-manager.c
@@ -665,8 +665,10 @@ sync_loaded_extensions (EphyExtensionsManager *manager)
(EPHY_SETTINGS_MAIN,
EPHY_PREFS_ENABLED_EXTENSIONS);
}
-
- g_variant_builder_end (&builder);
+ else
+ {
+ g_variant_builder_clear (&builder);
+ }
for (l = manager->priv->data; l != NULL; l = l->next)
{