[Xfce4-commits] <midori:master> Fix a crash caused by freeing the adblock filters in the wrong way

Christian Dywan noreply at xfce.org
Sat Oct 3 13:28:01 CEST 2009


Updating branch refs/heads/master
         to 7c2eb4de16a28b65978ee7d2488e50f5a8a69508 (commit)
       from 096a48b14cc43171934c4f8fde4af8b2f8738b2f (commit)

commit 7c2eb4de16a28b65978ee7d2488e50f5a8a69508
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Oct 3 13:24:43 2009 +0200

    Fix a crash caused by freeing the adblock filters in the wrong way

 extensions/adblock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/adblock.c b/extensions/adblock.c
index 9def25a..5208dea 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);
 }



More information about the Xfce4-commits mailing list