aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-option.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2001-08-09 00:32:42 +0800
committerRadek Doulik <rodo@src.gnome.org>2001-08-09 00:32:42 +0800
commit02048d1c08f3daa31e07c5681e81de2c918f4251 (patch)
tree6d2a5e6ccf3b9b84e4f94a9215690041ab7ad2d9 /filter/filter-option.c
parentec7b287514d9577597e69e78e5b8611eea34e37f (diff)
downloadgsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar
gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar.gz
gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar.bz2
gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar.lz
gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar.xz
gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar.zst
gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.zip
don't mix g_free and xmlAlloc (xml_decode): don't mix g_free and xmlAlloc
2001-08-08 Radek Doulik <rodo@ximian.com> * filter-folder.c (button_clicked): don't mix g_free and xmlAlloc (xml_decode): don't mix g_free and xmlAlloc * filter-code.c (filter_code_init): use xmlStrdup instead of g_strdup * filter-input.c (filter_input_new_type_name): use xmlStrdup instead of g_strdup (filter_input_finalise): don't mix g_free and xmlAlloc * filter-option.c (clone): use xmlStrdup instead of g_strdup (free_option): don't mix g_free and xmlAlloc svn path=/trunk/; revision=11795
Diffstat (limited to 'filter/filter-option.c')
-rw-r--r--filter/filter-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter-option.c b/filter/filter-option.c
index 9648bc36a0..a517fd71df 100644
--- a/filter/filter-option.c
+++ b/filter/filter-option.c
@@ -116,7 +116,7 @@ static void
free_option(struct _filter_option *o, void *data)
{
g_free(o->title);
- g_free(o->value);
+ xmlFree (o->value);
g_free(o->code);
g_free(o);
}
@@ -343,7 +343,7 @@ clone (FilterElement *fe)
fn = g_malloc (sizeof (*fn));
d(printf (" option %s\n", op->title));
fn->title = g_strdup (op->title);
- fn->value = g_strdup (op->value);
+ fn->value = xmlStrdup (op->value);
if (op->code)
fn->code = g_strdup (op->code);
else