X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fimap.c;h=e160aea53f088f8aae07800500584fddd0254b98;hp=509250aeafd26755260cfd8fd03e15e32f9b4861;hb=de48dcf9cf4defdce43cf5dbf4d2b676d081e4d6;hpb=a60cb9bfd1b1fb00237958c9045a86e961fbe257 diff --git a/src/imap.c b/src/imap.c index 509250aea..e160aea53 100644 --- a/src/imap.c +++ b/src/imap.c @@ -4105,9 +4105,7 @@ static GSList * imap_list_from_lep(IMAPFolder * folder, } if (!all && dup_name[strlen(dup_name)-1] == '/') { - g_free(base); - free(dup_name); - continue; + dup_name[strlen(dup_name)-1] = '\0'; } loc_name = imap_modified_utf7_to_utf8(base);