diff options
Diffstat (limited to 'filter/filter-option.c')
-rw-r--r-- | filter/filter-option.c | 4 |
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 |