aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/mac
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-01-18 15:51:54 -0800
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-01-18 15:51:54 -0800
commita183284be1d02f427cea579119c060bc1af51401 (patch)
tree991a63068ce2e7e553b86787a908ff093593202d /example/mac
parentc6a69e24a0be5216e2bfcceaa69f6037cea41b4a (diff)
Fixed example memory management
Diffstat (limited to 'example/mac')
-rw-r--r--example/mac/macExample/macExample/AppDelegate.m6
1 files changed, 2 insertions, 4 deletions
diff --git a/example/mac/macExample/macExample/AppDelegate.m b/example/mac/macExample/macExample/AppDelegate.m
index 7be4bfc2..b5f07f85 100644
--- a/example/mac/macExample/macExample/AppDelegate.m
+++ b/example/mac/macExample/macExample/AppDelegate.m
@@ -156,10 +156,8 @@ finishedRefreshWithFetcher:(GTMHTTPFetcher *)fetcher
[self willChangeValueForKey:@"loggingIn"];
- [self.checkOp release];
- _checkOp = nil;
- [self.session release];
- _session = nil;
+ self.checkOp = nil;
+ self.session = nil;
[self didChangeValueForKey:@"loggingIn"];