diff options
Diffstat (limited to 'camel/providers/local')
-rw-r--r-- | camel/providers/local/camel-local-folder.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |