From 7c2eb4de16a28b65978ee7d2488e50f5a8a69508 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 3 Oct 2009 13:24:43 +0200 Subject: [PATCH] Fix a crash caused by freeing the adblock filters in the wrong way --- extensions/adblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5