MacOS: fixes #3772 (disabling macosx-eq-keep causes crash).
authorSebastien Zwickert <dilaroga@free.fr>
Sat, 26 Jun 2010 16:11:19 +0000 (18:11 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 26 Jun 2010 16:12:03 +0000 (18:12 +0200)
modules/gui/macosx/equalizer.m

index 7d16a50..1809b1f 100644 (file)
@@ -113,7 +113,7 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
 static bool GetFiltersStatus( intf_thread_t *p_intf,
                                  char *psz_name )
 {
-    char *psz_parser, *psz_string;
+    char *psz_parser, *psz_string = NULL;
     vlc_object_t *p_object = VLC_OBJECT(getAout());
     if( p_object == NULL )
         p_object = vlc_object_hold(pl_Get( p_intf ));