From 85b1b8509aea707270a4abf345e696f0ec64e445 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 15 Oct 2011 18:43:19 +0200 Subject: [PATCH] Install form history always-load only if should_init --- extensions/formhistory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/formhistory.c b/extensions/formhistory.c index 1686a852..b74e350a 100644 --- a/extensions/formhistory.c +++ b/extensions/formhistory.c @@ -590,12 +590,11 @@ extension_init (void) "authors", "Alexander V. Butenko ", NULL); - midori_extension_install_boolean (extension, "always-load", TRUE); - g_free (desc); if (should_init) { + midori_extension_install_boolean (extension, "always-load", TRUE); g_signal_connect (extension, "activate", G_CALLBACK (formhistory_activate_cb), NULL); g_signal_connect (extension, "open-preferences",