aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/imap/MCOIMAPFolderInfoOperation.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/objc/imap/MCOIMAPFolderInfoOperation.mm')
-rw-r--r--src/objc/imap/MCOIMAPFolderInfoOperation.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objc/imap/MCOIMAPFolderInfoOperation.mm b/src/objc/imap/MCOIMAPFolderInfoOperation.mm
index 37b1a649..61766073 100644
--- a/src/objc/imap/MCOIMAPFolderInfoOperation.mm
+++ b/src/objc/imap/MCOIMAPFolderInfoOperation.mm
@@ -61,6 +61,8 @@ typedef void (^CompletionType)(NSError *error, MCOIMAPFolderInfo *info);
} else {
_completionBlock([NSError mco_errorWithErrorCode:op->error()], nil);
}
+ [_completionBlock release];
+ _completionBlock = nil;
}
@end