Fix invalid free
authorColin Leroy <colin@colino.net>
Wed, 30 Apr 2014 20:25:18 +0000 (22:25 +0200)
committerColin Leroy <colin@colino.net>
Wed, 30 Apr 2014 20:25:18 +0000 (22:25 +0200)
src/imap.c

index 6ebcd33..b2bd8bc 100644 (file)
@@ -768,8 +768,6 @@ 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);