[MPlayer-cvslog] r20143 - trunk/libmpdemux/demux_mkv.c

reimar subversion at mplayerhq.hu
Mon Oct 9 21:10:36 CEST 2006


Author: reimar
Date: Mon Oct  9 21:10:36 2006
New Revision: 20143

Modified:
   trunk/libmpdemux/demux_mkv.c

Log:
Free track->language before assigning new value


Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Mon Oct  9 21:10:36 2006
@@ -1165,6 +1165,7 @@
           }
 
         case MATROSKA_ID_TRACKLANGUAGE:
+          free(track->language);
           track->language = ebml_read_utf8 (s, &l);
           if (track->language == NULL)
             goto err_out;



More information about the MPlayer-cvslog mailing list