]> git.sesse.net Git - vlc/commitdiff
macosx: No need to use FREENULL here.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 12:35:59 +0000 (14:35 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 15:36:28 +0000 (17:36 +0200)
modules/gui/macosx/vout.m

index aca5b877862e6543f32e949fa2d988e048807b14..4161a2a2a84e4cd53b1cbb3e95acaa6f0161f2ad 100644 (file)
@@ -298,9 +298,9 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
     if( psz_uri != NULL )
         o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
 
-    FREENULL( psz_nowPlaying );
-    FREENULL( psz_name );
-    FREENULL( psz_uri );
+    free( psz_nowPlaying );
+    free( psz_name );
+    free( psz_uri );
 
     if( o_title == nil )
         o_title = o_mrl;