Commit e503ff35 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure we have an autorelease pool in -checkForUpdate.

parent 312324cd
......@@ -208,7 +208,9 @@ static void updateCallback( void * p_data, bool b_success )
return;
update_Check( p_u, updateCallback, self );
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
[[NSUserDefaults standardUserDefaults] setObject: [NSDate date] forKey: kPrefUpdateLastTimeChecked];
[pool release];
}
- (void)performDownload:(NSString *)path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment