aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap/MCOIMAPFetchMessagesOperation.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/imap/MCOIMAPFetchMessagesOperation.mm')
-rw-r--r--src/objc/imap/MCOIMAPFetchMessagesOperation.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPFetchMessagesOperation.mm b/src/objc/imap/MCOIMAPFetchMessagesOperation.mm
index e43a46e5..6892ab1b 100644
--- a/src/objc/imap/MCOIMAPFetchMessagesOperation.mm
+++ b/src/objc/imap/MCOIMAPFetchMessagesOperation.mm
@@ -53,6 +53,8 @@ typedef void (^CompletionType)(NSError *error, NSArray * messages, MCOIndexSet *
} else {
_completionBlock([NSError mco_errorWithErrorCode:op->error()], nil, nil);
}
+ [_completionBlock release];
+ _completionBlock = nil;
}
- (void) itemProgress:(unsigned int)current maximum:(unsigned int)maximum