diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-30 08:54:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-30 08:54:16 +0800 |
commit | 32a455a0a580afc475a4b12fdf72fe5e79572065 (patch) | |
tree | 4062061904771d38814549567cc10344e2d5f679 /camel | |
parent | 685a1ce3cee46e6a18603d651c57b9f9c98ecaef (diff) | |
download | gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar.gz gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar.bz2 gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar.lz gsoc2013-evolution-32a455a0a580afc475a4b12fdf72fe5e79572065.tar.xz 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')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/local/camel-local-folder.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 5e081058d0..bffcdeeac7 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +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. + 2003-08-27 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-folder.c (local_getv): implement 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; } |