Revert accidentally committed changes.
authorwwp <subscript@free.fr>
Tue, 5 Oct 2021 15:03:09 +0000 (17:03 +0200)
committerwwp <subscript@free.fr>
Tue, 5 Oct 2021 15:03:09 +0000 (17:03 +0200)
src/imap.c

index fdd048be63a484eda351e4ad57eac65aada6410f..1ad6cc5cab51318c441dee50888c56b8aef3fa1b 100644 (file)
@@ -1294,8 +1294,6 @@ static IMAPSession *imap_session_new(Folder * folder,
                                SESSION(session)->sock = NULL;
                                imap_safe_destroy(session);
                        }
-                       imap_session_destroy(session);
-            session_destroy(SESSION(session));
                        return NULL;
                }