reednj/TDSemiModal — Issue #5: TDSemiModalViewController.m
Author: lucianoenrico
Created: 2012-02-17 18:26:08+00:00
State: open

in -(void)viewDidLoad

```
self.coverView = [[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame];
```

Static analyzer complains about a potential leak. It may be solved with:

```
self.coverView = [[[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame] autorelease];
```

in dealloc it must be like this?
```
- (void)dealloc {
//self.coverView = nil;
[coverView release];
[super dealloc];
}
```