diff options
Diffstat (limited to 'src/objc/imap/MCOIMAPIdleOperation.mm')
-rw-r--r-- | src/objc/imap/MCOIMAPIdleOperation.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPIdleOperation.mm b/src/objc/imap/MCOIMAPIdleOperation.mm index 86419b75..d43bf818 100644 --- a/src/objc/imap/MCOIMAPIdleOperation.mm +++ b/src/objc/imap/MCOIMAPIdleOperation.mm @@ -53,6 +53,8 @@ typedef void (^CompletionType)(NSError *error); } else { _completionBlock([NSError mco_errorWithErrorCode:op->error()]); } + [_completionBlock release]; + _completionBlock = nil; } - (void) interruptIdle |