2007-01-05 [paul] 2.6.1cvs110
[claws.git] / src / imap.c
index 509250aeafd26755260cfd8fd03e15e32f9b4861..e160aea53f088f8aae07800500584fddd0254b98 100644 (file)
@@ -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);