aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-07-03 10:10:23 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-07-03 10:10:23 +0800
commit38ec332283a06e014f2b73161a8eaf03464549d3 (patch)
treeb196814310f67669d1621b3d652493f555e05c54 /filter/filter-driver.c
parent2b06fe7a4dcd3437219e41a330bd6dd00fe4457c (diff)
downloadgsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar.gz
gsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar.zst
gsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.zip
Get filters to work by not freeing the XML document nor the ruleset.
This probably makes us leak, but I don't understand how the code is supposed to work so I cannot do the correct fix. At least filters (seem to) work now. svn path=/trunk/; revision=3867
Diffstat (limited to 'filter/filter-driver.c')
-rw-r--r--filter/filter-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index e706558252..e42e93acbd 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -207,8 +207,10 @@ filter_driver_new (const char *system, const char *user, FilterFolderFetcher fet
p->options = filter_load_optionset(filt, p->rules);
#warning "Zucchi: is this safe? Doesn't seem to cause problems..."
+#if 0
filter_load_ruleset_free (p->rules);
xmlFreeDoc (desc);
+#endif
return new;
}