[vlc-commits] Remove non-sensical FREENULL()

Rémi Denis-Courmont git at videolan.org
Thu Jul 19 22:22:51 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 19 23:22:41 2012 +0300| [4ad2d5e3854bfab2fe40f4afdc98c13f237d378a] | committer: Rémi Denis-Courmont

Remove non-sensical FREENULL()

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

 include/vlc_media_library.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_media_library.h b/include/vlc_media_library.h
index 313f8a3..6d545ab 100644
--- a/include/vlc_media_library.h
+++ b/include/vlc_media_library.h
@@ -558,8 +558,8 @@ static inline void ml_FreePeople( ml_person_t *p_person )
     if( p_person == NULL )
         return;
     ml_FreePeople( p_person->p_next );
-    FREENULL( p_person->psz_name );
-    FREENULL( p_person->psz_role );
+    free( p_person->psz_name );
+    free( p_person->psz_role );
     free( p_person );
 }
 



More information about the vlc-commits mailing list