From: Christian Dywan Date: Sat, 3 Oct 2009 11:24:43 +0000 (+0200) Subject: Fix a crash caused by freeing the adblock filters in the wrong way X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c2eb4de16a28b65978ee7d2488e50f5a8a69508;p=midori Fix a crash caused by freeing the adblock filters in the wrong way --- diff --git a/extensions/adblock.c b/extensions/adblock.c index 9def25a5..5208dea4 100644 --- a/extensions/adblock.c +++ b/extensions/adblock.c @@ -169,7 +169,7 @@ adblock_preferences_model_row_changed_cb (GtkTreeModel* model, while (gtk_tree_model_iter_next (model, iter)); filters[length] = NULL; midori_extension_set_string_list (extension, "filters", filters, length); - g_strfreev (filters); + g_free (filters); if (need_reload) adblock_reload_rules (extension); }