aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-store.h6
-rw-r--r--camel/camel-url.c2
3 files changed, 9 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index a81532d531..e2cc98dd49 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2001-09-14 Dan Winship <danw@ximian.com>
* camel-file-utils.c (camel_file_util_encode_string,
diff --git a/camel/camel-store.h b/camel/camel-store.h
index 9da6a6e84e..02ceb5747c 100644
--- a/camel/camel-store.h
+++ b/camel/camel-store.h
@@ -107,17 +107,17 @@ typedef struct {
const char *old_name,
const char *new_name,
CamelException *ex);
-
+
void (*sync) (CamelStore *store,
CamelException *ex);
-
+
CamelFolderInfo *(*get_folder_info) (CamelStore *store,
const char *top,
guint32 flags,
CamelException *ex);
void (*free_folder_info) (CamelStore *store,
CamelFolderInfo *fi);
-
+
gboolean (*folder_subscribed) (CamelStore *store,
const char *folder_name);
void (*subscribe_folder) (CamelStore *store,
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 *