[vlc-devel] commit: macosx: No need to use FREENULL here. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Jul 12 17:34:12 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul 12 14:35:59 2008 +0200| [caf6188518644f20b84536fca5af932de98ecd02]
macosx: No need to use FREENULL here.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=caf6188518644f20b84536fca5af932de98ecd02
---
modules/gui/macosx/vout.m | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index aca5b87..4161a2a 100644
--- a/modules/gui/macosx/vout.m
+++ b/modules/gui/macosx/vout.m
@@ -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;
More information about the vlc-devel
mailing list