]> spindle.queued.net Git - midori/commitdiff
Fix a crash caused by freeing the adblock filters in the wrong way
authorChristian Dywan <christian@twotoasts.de>
Sat, 3 Oct 2009 11:24:43 +0000 (13:24 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 3 Oct 2009 11:27:12 +0000 (13:27 +0200)
extensions/adblock.c

index 9def25a53a4ccc104a435235be0d5818be857ced..5208dea4efc8d92c9344b9c8dae30f0314839e8f 100644 (file)
@@ -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);
 }