ShareKit/ShareKit — Issue #89: Leaks
Author: pierrexn
Created: 2011-11-18 12:39:56+00:00
State: open

There is 2 leaks (development branch) with Flickr & Twitter if you cancel login dialog

Not sure if these changes are good, but it work

SHKOAuthSharer.m
- (void)tokenAuthorizeCancelledView:(SHKOAuthView *)authView
{
[[SHK currentHelper] hideCurrentViewControllerAnimated:YES];

// changes
[self release];
}

SHKFlickr.m
- (void)tokenAuthorizeCancelledView:(SHKOAuthView *)authView {

[[SHK currentHelper] hideCurrentViewControllerAnimated:YES];

// changes
[self release];
}