[vlc-devel] commit: Actually free the data ( Rafaël Carré )

git version control git at videolan.org
Mon May 5 13:55:00 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon May  5 13:56:08 2008 +0200| [a037737e6238fd4fc471d1df9a8d25a16d7caaad]

Actually free the data

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

 include/vlc_meta.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_meta.h b/include/vlc_meta.h
index 090c2ce..66f90de 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -115,7 +115,7 @@ static inline vlc_meta_t *vlc_meta_New( void )
 static inline void vlc_meta_Delete( vlc_meta_t *m )
 {
     int i;
-    for( i = 0; i < 0; i++ )
+    for( i = 0; i < VLC_META_TYPE_COUNT ; i++ )
         free( m->ppsz_meta[i] );
     vlc_dictionary_clear( &m->extra_tags );
     free( m );




More information about the vlc-devel mailing list