Commit bd0c4a17 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fix memory leak

parent 41aa370b
......@@ -566,6 +566,7 @@ static ExtensionsDialogProvider *_o_sharedInstance = nil;
**/
- (void)manageDialog:(extension_dialog_t *)p_dialog
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
assert(p_dialog);
ExtensionsManager *extMgr = [ExtensionsManager getInstance:p_intf];
assert(extMgr != NULL);
......@@ -574,6 +575,7 @@ static ExtensionsDialogProvider *_o_sharedInstance = nil;
[self performSelectorOnMainThread:@selector(updateExtensionDialog:)
withObject:o_value
waitUntilDone:YES];
[pool release];
}
@end
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