aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:18:07 -0800
committerGravatar DINH Viet Hoa <dinh.viet.hoa@gmail.com>2013-02-04 23:18:07 -0800
commitdf56c6a0cbf00eddd7ca39fd4eaa8f55f3a4732b (patch)
tree2f0716fcdc7d9178b83a4af730771026b78398c6
parent14689b1adde8773f4f80a3242fc7cd770af5d900 (diff)
Removed extra retains.
-rw-r--r--tests/main.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/main.mm b/tests/main.mm
index 8d679917..56f61411 100644
--- a/tests/main.mm
+++ b/tests/main.mm
@@ -282,7 +282,7 @@ void testObjC()
session.connectionType = MCOConnectionTypeTLS;
NSLog(@"check account");
- MCOCheckAccountOperation *checkOp = [[session checkAccountOperation] retain];
+ MCOCheckAccountOperation *checkOp = [session checkAccountOperation];
[checkOp start:^(NSError *err) {
NSLog(@"check account done");
if (err) {
@@ -290,7 +290,7 @@ void testObjC()
} else {
NSLog(@"CONNECTED");
NSLog(@"fetch all folders");
- MCOFetchFoldersOperation *foldersOp = [[session fetchAllFoldersOperation] retain];
+ MCOFetchFoldersOperation *foldersOp = [session fetchAllFoldersOperation];
[foldersOp start:^(NSError *err, NSArray *folders) {
NSLog(@"fetch all folders done");
if (err) {