[vlc-devel] commit: Useless FREENULL -> free ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Sep 15 21:24:41 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Sep 15 22:26:52 2008 +0300| [6c7ad302fcb38baa86dd7959a9475e75c4461d11] | committer: Rémi Denis-Courmont 

Useless FREENULL -> free

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

 modules/demux/playlist/xspf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index a6b1cbe..3a7a4c3 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -70,8 +70,8 @@ void Close_xspf( vlc_object_t *p_this )
         if(p_demux->p_sys->pp_tracklist[i])
             vlc_gc_decref( p_demux->p_sys->pp_tracklist[i] );
     }
-    FREENULL( p_demux->p_sys->pp_tracklist );
-    FREENULL( p_demux->p_sys->psz_base );
+    free( p_demux->p_sys->pp_tracklist );
+    free( p_demux->p_sys->psz_base );
     free( p_demux->p_sys );
 }
 




More information about the vlc-devel mailing list