Fix analyzer findings

This commit is contained in:
Jonathan Schleifer 2017-10-15 17:04:58 +02:00
parent 57c875987c
commit 9d8e6f6761
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
4 changed files with 24 additions and 6 deletions

View file

@ -30,15 +30,18 @@
@implementation MainViewController
- (void)viewDidLoad
{
[super viewDidLoad];
_siteStorage = [[SiteStorage alloc] init];
[self reset];
}
- (void)dealloc
{
[_siteStorage release];
[_tableView release];
[_sites release];
[_siteStorage release];
[_searchBar release];
[_tableView release];
[super dealloc];
}