diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-05-16 02:05:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-05-16 02:05:14 +0800 |
commit | 1e478fe94bc167e450e494f0b8b3efa7ffef4998 (patch) | |
tree | 8784c06103997ea2df3ec5cee00c6f029a8fb167 /camel | |
parent | ee8e8b6bae8d50da2f3610be3f2cf2d441363f82 (diff) | |
download | gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.tar gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.tar.gz gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.tar.bz2 gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.tar.lz gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.tar.xz gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.tar.zst gsoc2013-evolution-1e478fe94bc167e450e494f0b8b3efa7ffef4998.zip |
Only delete the index if it is non-NULL. Fixes bug #42763.
2003-05-13 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-local-folder.c (local_delete): Only delete
the index if it is non-NULL. Fixes bug #42763.
svn path=/trunk/; revision=21193
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/local/camel-local-folder.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index c24472738a..75ad88d4ff 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -9,6 +9,11 @@ 2003-05-13 Jeffrey Stedfast <fejj@ximian.com> + * providers/local/camel-local-folder.c (local_delete): Only delete + the index if it is non-NULL. Fixes bug #42763. + +2003-05-13 Jeffrey Stedfast <fejj@ximian.com> + * providers/imap/camel-imap-utils.c (imap_uid_array_to_set): Added a note to the comment block for this function noting that uids MUST be in sorted order. diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c index ca49071d2e..74c876f226 100644 --- a/camel/providers/local/camel-local-folder.c +++ b/camel/providers/local/camel-local-folder.c @@ -442,8 +442,9 @@ static void local_delete(CamelFolder *folder) { CamelLocalFolder *lf = (CamelLocalFolder *)folder; - - camel_index_delete(lf->index); + + if (lf->index) + camel_index_delete(lf->index); parent_class->delete(folder); } |