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
This commit is contained in:
committed by
Jeffrey Stedfast
parent
ee8e8b6bae
commit
1e478fe94b
@ -7,6 +7,11 @@
|
||||
Also, for a valid return against result, not herr.
|
||||
(camel_gethostbyaddr): Likewise.
|
||||
|
||||
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
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user