diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/ChangeLog | 7 | ||||
-rw-r--r-- | filter/filter-element.c | 2 | ||||
-rw-r--r-- | filter/filter-source.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 8eeb958271..cbd2332adf 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,10 @@ +2001-08-08 Radek Doulik <rodo@ximian.com> + + * filter-source.c (clone): use xmlStrdup rather than g_strdup + + * filter-element.c (filter_element_finalise): don't mix g_free and + xmlAlloc + 2001-08-07 Not Zed <NotZed@Ximian.com> * filter-rule.c (filter_rule_finalise): Properly free the list of diff --git a/filter/filter-element.c b/filter/filter-element.c index b7a3b30a05..d8218c5079 100644 --- a/filter/filter-element.c +++ b/filter/filter-element.c @@ -110,7 +110,7 @@ filter_element_finalise (GtkObject *obj) { FilterElement *o = (FilterElement *)obj; - g_free(o->name); + xmlFree(o->name); ((GtkObjectClass *)(parent_class))->finalize(obj); } diff --git a/filter/filter-source.c b/filter/filter-source.c index 5111a0b106..fd9a56f882 100644 --- a/filter/filter-source.c +++ b/filter/filter-source.c @@ -205,7 +205,7 @@ clone (FilterElement *fe) FilterSource *cpy = filter_source_new (); GList *i; - ((FilterElement *)cpy)->name = g_strdup (fe->name); + ((FilterElement *)cpy)->name = xmlStrdup (fe->name); cpy->priv->current_url = g_strdup (fs->priv->current_url); |