diff options
Diffstat (limited to 'src/objc/imap/MCOIMAPOperation.mm')
-rw-r--r-- | src/objc/imap/MCOIMAPOperation.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPOperation.mm b/src/objc/imap/MCOIMAPOperation.mm index 7b98c6bd..0b6d48e0 100644 --- a/src/objc/imap/MCOIMAPOperation.mm +++ b/src/objc/imap/MCOIMAPOperation.mm @@ -38,6 +38,8 @@ typedef void (^CompletionType)(NSError *error); NSError * error = [NSError mco_errorWithErrorCode:MCO_NATIVE_INSTANCE->error()]; _completionBlock(error); + [_completionBlock release]; + _completionBlock = nil; } @end |