aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-08-08 23:04:20 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-08-08 23:04:20 +0800
commit96c6dc75246d83135672536910160a519ed751ef (patch)
treef3b26f3fba8f640d737f7e388f11e77958608112 /filter
parent51e9aa8577a5bc6c480cd4043bee312248415121 (diff)
downloadgsoc2013-evolution-96c6dc75246d83135672536910160a519ed751ef.tar.gz
gsoc2013-evolution-96c6dc75246d83135672536910160a519ed751ef.tar.zst
gsoc2013-evolution-96c6dc75246d83135672536910160a519ed751ef.zip
use xmlStrdup rather than g_strdup
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 svn path=/trunk/; revision=11788
Diffstat (limited to 'filter')
-rw-r--r--filter/ChangeLog7
-rw-r--r--filter/filter-element.c2
-rw-r--r--filter/filter-source.c2
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);