diff options
author | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-04 23:18:07 -0800 |
---|---|---|
committer | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-04 23:18:07 -0800 |
commit | df56c6a0cbf00eddd7ca39fd4eaa8f55f3a4732b (patch) | |
tree | 2f0716fcdc7d9178b83a4af730771026b78398c6 | |
parent | 14689b1adde8773f4f80a3242fc7cd770af5d900 (diff) |
Removed extra retains.
-rw-r--r-- | tests/main.mm | 4 |
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) { |