diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index e127e623b513e64298349e6ed8b051c6fc55bbb7..9efc4bb9d12bfb686a6ebb95f2bd032f0ac83e8a 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -779,22 +779,13 @@ static VLCMain *_o_sharedMainInstance = nil; /* release some other objects here, because it isn't sure whether dealloc * will be called later on */ - if (o_sprefs) - [o_sprefs release]; - - if (o_prefs) - [o_prefs release]; + [o_sprefs release]; + [o_prefs release]; [o_open release]; - - if (o_info) - [o_info release]; - - if (o_wizard) - [o_wizard release]; - - if (!o_bookmarks) - [o_bookmarks release]; + [o_info release]; + [o_wizard release]; + [o_bookmarks release]; [o_resume_dialog release];