diff options
author | Dmitry Isaikin <isaikin-dmitry@yandex.ru> | 2016-06-06 23:20:47 +0300 |
---|---|---|
committer | HoĆ V. DINH <dinh.viet.hoa@gmail.com> | 2016-06-06 13:20:47 -0700 |
commit | aeddd74c8fc3ccd15e2550ec0f333df6d599ff23 (patch) | |
tree | 6bcd00e1e36aee84710d1e897807130632774e95 | |
parent | 17749227fdc5819f8e585a37dcf8b5b9197147da (diff) |
Fixed crash on calling mailimap_mailbox_data_status_free() with NULL (#1449)
-rw-r--r-- | src/core/imap/MCIMAPSession.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/imap/MCIMAPSession.cpp b/src/core/imap/MCIMAPSession.cpp index 1357f47f..e58b8cba 100644 --- a/src/core/imap/MCIMAPSession.cpp +++ b/src/core/imap/MCIMAPSession.cpp @@ -1280,13 +1280,12 @@ IMAPFolderStatus * IMAPSession::folderStatus(String * folder, ErrorCode * pError } } } - - + + mailimap_mailbox_data_status_free(status); } - + mailimap_status_att_list_free(status_att_list); - mailimap_mailbox_data_status_free(status); - + return fs; } |