diff options
author | Radek Doulik <rodo@ximian.com> | 2001-08-09 00:32:42 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2001-08-09 00:32:42 +0800 |
commit | 02048d1c08f3daa31e07c5681e81de2c918f4251 (patch) | |
tree | 6d2a5e6ccf3b9b84e4f94a9215690041ab7ad2d9 /filter/filter-input.c | |
parent | ec7b287514d9577597e69e78e5b8611eea34e37f (diff) | |
download | gsoc2013-evolution-02048d1c08f3daa31e07c5681e81de2c918f4251.tar.gz 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-input.c')
-rw-r--r-- | filter/filter-input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter-input.c b/filter/filter-input.c index e25d3e40ee..8bf430993b 100644 --- a/filter/filter-input.c +++ b/filter/filter-input.c @@ -121,7 +121,7 @@ filter_input_finalise (GtkObject *obj) { FilterInput *o = (FilterInput *)obj; - g_free(o->type); + xmlFree (o->type); g_list_foreach(o->values, (GFunc)g_free, NULL); g_list_free(o->values); @@ -148,7 +148,7 @@ FilterInput * filter_input_new_type_name (const char *type) { FilterInput *o = filter_input_new (); - o->type = g_strdup (type); + o->type = xmlStrdup (type); d(printf("new type %s = %p\n", type, o)); return o; |