Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Fixed a few mem leaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangrimm committed Apr 6, 2012
1 parent 0d0814e commit 3f89dc1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Classes/MLWScheduleGridView.m
Expand Up @@ -295,6 +295,7 @@ - (void)dealloc {

self.delegate = nil;
self.sessions = nil;
self.sessionViews = nil;

[super dealloc];
}
Expand Down
1 change: 1 addition & 0 deletions Classes/MLWSessionView.m
Expand Up @@ -138,6 +138,7 @@ - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {

- (void) dealloc {
self.delegate = nil;
[_session release];
self.titleLabel = nil;
self.trackLabel = nil;
self.locationLabel = nil;
Expand Down
1 change: 1 addition & 0 deletions Controllers/MLWFilterViewController.m
Expand Up @@ -309,6 +309,7 @@ - (void)dealloc {
self.tabs = nil;
self.facetResponse = nil;
self.constraint = nil;
self.searchField = nil;
self.cachedResultsForCurrentFacet = nil;

[super dealloc];
Expand Down
6 changes: 4 additions & 2 deletions Controllers/MLWTweetController.m
Expand Up @@ -148,19 +148,21 @@ - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath:(NS


- (void)viewDidUnload {
[super viewDidUnload];
self.tableView = nil;
self.loadingView = nil;
self.view = nil;
self.tweets = nil;

[super viewDidUnload];
}

- (void)dealloc {
[super dealloc];
self.tableView = nil;
self.loadingView = nil;
self.view = nil;
self.tweets = nil;

[super dealloc];
}

@end

0 comments on commit 3f89dc1

Please sign in to comment.