[vlc-commits] macosx: fix another crash on exit

David Fuhrmann git at videolan.org
Fri May 4 00:28:14 CEST 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri May  4 00:26:06 2012 +0200| [fa3efbecc46ecb54900d2b0a060a80d001a321af] | committer: David Fuhrmann

macosx: fix another crash on exit

(for whatever reason this was only observable on snow leopard for me)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa3efbecc46ecb54900d2b0a060a80d001a321af
---

 modules/gui/macosx/ExtensionsManager.m |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/ExtensionsManager.m b/modules/gui/macosx/ExtensionsManager.m
index 80e7551..14f7642 100644
--- a/modules/gui/macosx/ExtensionsManager.m
+++ b/modules/gui/macosx/ExtensionsManager.m
@@ -352,7 +352,8 @@ static ExtensionsManager* instance = nil;
     msg_Dbg( p_intf, "Killing extension dialog provider" );
     [ExtensionsDialogProvider killInstance];
 
-    vlc_object_release( p_extensions_manager );
+    if( p_extensions_manager )
+        vlc_object_release( p_extensions_manager );
 
     [p_extDict release];
 



More information about the vlc-commits mailing list