diff options
Diffstat (limited to 'libsylph/imap.c')
-rw-r--r-- | libsylph/imap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsylph/imap.c b/libsylph/imap.c index 502fcc39..6213f273 100644 --- a/libsylph/imap.c +++ b/libsylph/imap.c @@ -433,6 +433,8 @@ static void imap_folder_destroy(Folder *folder) { gchar *dir; + g_return_if_fail(folder->account != NULL); + dir = folder_get_path(folder); if (is_dir_exist(dir)) remove_dir_recursive(dir); |