[MPlayer-cvslog] r18813 - trunk/libmpdemux/asfheader.c
reimar
subversion at mplayerhq.hu
Sun Jun 25 16:02:28 CEST 2006
Author: reimar
Date: Sun Jun 25 16:02:28 2006
New Revision: 18813
Modified:
trunk/libmpdemux/asfheader.c
Log:
Forgotten free on error
Modified: trunk/libmpdemux/asfheader.c
==============================================================================
--- trunk/libmpdemux/asfheader.c (original)
+++ trunk/libmpdemux/asfheader.c Sun Jun 25 16:02:28 2006
@@ -433,6 +433,8 @@
stream_read(demuxer->stream, guid_buffer, 16);
if (memcmp(guid_buffer, asf_data_chunk_guid, 16) != 0) {
mp_msg(MSGT_HEADER, MSGL_FATAL, MSGTR_MPDEMUX_ASFHDR_NoDataChunkAfterHeader);
+ free(streams);
+ streams = NULL;
return 0;
}
// read length of chunk
More information about the MPlayer-cvslog
mailing list