Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

The retained UIWebView (self.view = webview) should be released in loadView #4

Closed
wants to merge 1 commit into from

2 participants

@tsif

No description provided.

@rs
Owner
rs commented

No longer relevant, 2.0 uses ARC

@rs rs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 19, 2012
  1. autoreleasing webview allocation in the player view controller

    Dimitris Tsiflitzis authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  DailymotionPlayerViewController.m
View
2  DailymotionPlayerViewController.m
@@ -42,7 +42,7 @@ - (id)initWithVideo:(NSString *)aVideo
- (void)loadView
{
- UIWebView *webview = [[UIWebView alloc] init];
+ UIWebView *webview = [[[UIWebView alloc] init] autorelease];
webview.delegate = self;
// Remote white default background
Something went wrong with that request. Please try again.