[MPlayer-cvslog] r27764 - trunk/libmpdemux/demux_nut.c

ods15 subversion at mplayerhq.hu
Tue Oct 14 00:32:20 CEST 2008


Author: ods15
Date: Tue Oct 14 00:32:20 2008
New Revision: 27764

Log:
Fix double free in demux_nut, patch by Onur Kucuk

Modified:
   trunk/libmpdemux/demux_nut.c

Modified: trunk/libmpdemux/demux_nut.c
==============================================================================
--- trunk/libmpdemux/demux_nut.c	(original)
+++ trunk/libmpdemux/demux_nut.c	Tue Oct 14 00:32:20 2008
@@ -86,8 +86,6 @@ static demuxer_t * demux_open_nut(demuxe
 	while ((ret = nut_read_headers(nut, &s, NULL)) == NUT_ERR_EAGAIN);
 	if (ret) {
 		mp_msg(MSGT_HEADER, MSGL_ERR, "NUT error: %s\n", nut_error(ret));
-		nut_demuxer_uninit(nut);
-		free(priv);
 		return NULL;
 	}
 



More information about the MPlayer-cvslog mailing list