Commit 4a9105dd authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

Don't crash when using libgmalloc on Leopard (closes #1501)

Patch by Drew Yao. Thanks and sorry for the long time it took this simple fix to be committed!
parent 971896b9
......@@ -409,11 +409,13 @@ static VLCMain *_o_sharedMainInstance = nil;
- (id)init
if( _o_sharedMainInstance) {
if( _o_sharedMainInstance)
[self dealloc];
} else {
return _o_sharedMainInstance;
_o_sharedMainInstance = [super init];
o_about = [[VLAboutBox alloc] init];
o_prefs = [[VLCPrefs alloc] init];
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