diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/local/camel-local-store.c | 3 | ||||
-rw-r--r-- | camel/providers/local/camel-mbox-store.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/camel/providers/local/camel-local-store.c b/camel/providers/local/camel-local-store.c index a883f4a4dd..a009000f78 100644 --- a/camel/providers/local/camel-local-store.c +++ b/camel/providers/local/camel-local-store.c @@ -399,7 +399,8 @@ delete_folder(CamelStore *store, const char *folder_name, CamelException *ex) return; } g_free(str); - + + str = NULL; camel_exception_init (&lex); if ((lf = camel_store_get_folder (store, folder_name, 0, &lex))) { camel_object_get (lf, NULL, CAMEL_OBJECT_STATE_FILE, &str, NULL); diff --git a/camel/providers/local/camel-mbox-store.c b/camel/providers/local/camel-mbox-store.c index 45d91b1fa6..e8c47c5672 100644 --- a/camel/providers/local/camel-mbox-store.c +++ b/camel/providers/local/camel-mbox-store.c @@ -301,7 +301,8 @@ delete_folder(CamelStore *store, const char *folder_name, CamelException *ex) } g_free(path); - + + path = NULL; camel_exception_init(&lex); if ((lf = camel_store_get_folder(store, folder_name, 0, &lex))) { camel_object_get(lf, NULL, CAMEL_OBJECT_STATE_FILE, &path, NULL); |