aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-08-30 08:54:16 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-08-30 08:54:16 +0800
commit32a455a0a580afc475a4b12fdf72fe5e79572065 (patch)
tree4062061904771d38814549567cc10344e2d5f679 /camel/providers
parent685a1ce3cee46e6a18603d651c57b9f9c98ecaef (diff)
downloadgsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar.gz
gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar.zst
gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.zip
Need to copy the local properties list before passing it out, since it's
2003-08-29 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-folder.c (local_getv): Need to copy the local properties list before passing it out, since it's freed. svn path=/trunk/; revision=22418
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-local-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c
index 91d001ccfc..e0b3c7b55a 100644
--- a/camel/providers/local/camel-local-folder.c
+++ b/camel/providers/local/camel-local-folder.c
@@ -394,7 +394,7 @@ local_getv(CamelObject *object, CamelException *ex, CamelArgGetV *args)
props.argc = 1;
props.argv[0] = *arg;
((CamelObjectClass *)parent_class)->getv(object, ex, &props);
- *arg->ca_ptr = g_slist_concat(*arg->ca_ptr, local_folder_properties);
+ *arg->ca_ptr = g_slist_concat(*arg->ca_ptr, g_slist_copy(local_folder_properties));
break; }