diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-15 07:03:43 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-15 07:03:43 +0800 |
commit | 8a9ba3cdfb661d407015613a626d943efe9a979c (patch) | |
tree | 855afc6817c96e9aa8de9ee3f6a70616ea64c8eb /camel/camel-url.c | |
parent | 52f52c4fe1fa7fa90608d68425e443b0975fe1fe (diff) | |
download | gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.tar gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.tar.gz gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.tar.bz2 gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.tar.lz gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.tar.xz gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.tar.zst gsoc2013-evolution-8a9ba3cdfb661d407015613a626d943efe9a979c.zip |
Use g_datalist_set_data_full so that the data will be free'd when we clear
2001-09-14 Jeffrey Stedfast <fejj@ximian.com>
* camel-url.c (camel_url_set_param): Use g_datalist_set_data_full
so that the data will be free'd when we clear the list.
svn path=/trunk/; revision=12838
Diffstat (limited to 'camel/camel-url.c')
-rw-r--r-- | camel/camel-url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-url.c b/camel/camel-url.c index 4290b4c813..7c3bd0eab4 100644 --- a/camel/camel-url.c +++ b/camel/camel-url.c @@ -432,7 +432,7 @@ camel_url_set_port (CamelURL *url, int port) void camel_url_set_param (CamelURL *url, const char *name, const char *value) { - g_datalist_set_data (&url->params, name, value ? g_strdup (value) : NULL); + g_datalist_set_data_full (&url->params, name, value ? g_strdup (value) : NULL, g_free); } const char * |