Fix leak
authorColin Leroy <colin@colino.net>
Fri, 2 May 2014 07:27:34 +0000 (09:27 +0200)
committerColin Leroy <colin@colino.net>
Fri, 2 May 2014 07:27:34 +0000 (09:27 +0200)
src/imap.c

index e2eee5e..6813d9e 100644 (file)
@@ -769,6 +769,8 @@ static void imap_folder_destroy(Folder *folder)
        while (imap_folder_get_refcnt(folder) > 0)
                gtk_main_iteration();
 
+       g_free(IMAP_FOLDER(folder)->search_charset);
+
        folder_remote_folder_destroy(REMOTE_FOLDER(folder));
        imap_done(folder);
 }