aboutsummaryrefslogtreecommitdiffstats
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
parent2b06fe7a4dcd3437219e41a330bd6dd00fe4457c (diff)
downloadgsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar
gsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar.gz
gsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar.bz2
gsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar.lz
gsoc2013-evolution-38ec332283a06e014f2b73161a8eaf03464549d3.tar.xz
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
-rw-r--r--filter/ChangeLog6
-rw-r--r--filter/filter-driver.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 492a730ee3..c8f664298a 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,9 @@
+2000-07-02 Ettore Perazzoli <ettore@helixcode.com>
+
+ * filter-driver.c (filter_driver_new): Don't free the ruleset nor
+ the xmlDoc. This will make us leak [I think], but at least
+ filters work.
+
2000-07-02 Dan Winship <danw@helixcode.com>
* filter-driver.c (open_folder): freeze the folder to avoid
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;
}