diff options
author | Dan Winship <danw@src.gnome.org> | 2001-04-19 02:04:13 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-04-19 02:04:13 +0800 |
commit | 0c90cd7ddae8e37d4c4ab85a2b2460b4d5dd0902 (patch) | |
tree | c4d01056c13f914755c7f6393d31ba841a0222ba /filter/filter-colour.c | |
parent | 765e7194f1459f226b91ffc027024553e2d1a64b (diff) | |
download | gsoc2013-evolution-0c90cd7ddae8e37d4c4ab85a2b2460b4d5dd0902.tar.gz gsoc2013-evolution-0c90cd7ddae8e37d4c4ab85a2b2460b4d5dd0902.tar.zst gsoc2013-evolution-0c90cd7ddae8e37d4c4ab85a2b2460b4d5dd0902.zip |
Plug memory leaks.
* filter-colour.c, filter-datespec.c, filter-folder.c,
filter-input.c, filter-option.c, filter-rule.c, filter-score.c,
filter-source.c, score-rule.c (xml_decode): Plug memory leaks.
* rule-context.c (rule_context_finalise): Implement. Free stuff.
* filter-element.h: #include <gnome-xml/xmlmemory.h> here for xmlFree
* filter-filter.c, filter-part.c: Remove xmlmemory.h #include
svn path=/trunk/; revision=9451
Diffstat (limited to 'filter/filter-colour.c')
-rw-r--r-- | filter/filter-colour.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-colour.c b/filter/filter-colour.c index 437621fd5e..bebc83453c 100644 --- a/filter/filter-colour.c +++ b/filter/filter-colour.c @@ -23,7 +23,6 @@ #endif #include <gtk/gtksignal.h> -#include <gnome-xml/xmlmemory.h> #include <libgnomeui/gnome-color-picker.h> #include "e-util/e-sexp.h" @@ -179,6 +178,7 @@ static int xml_decode(FilterElement *fe, xmlNodePtr node) { FilterColour *fc = (FilterColour *)fe; + xmlFree (fe->name); fe->name = xmlGetProp(node, "name"); fc->r = get_value(node, "red"); fc->g = get_value(node, "green"); |