[MPlayer-cvslog] CVS: main/libmpdemux demux_aac.c,1.7,1.8
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Mar 9 23:11:41 CET 2006
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv12796
Modified Files:
demux_aac.c
Log Message:
fix minor (i.e. unlikely to ever happen) leak when init fails
Index: demux_aac.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_aac.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- demux_aac.c 17 Feb 2006 01:57:40 -0000 1.7
+++ demux_aac.c 9 Mar 2006 22:11:39 -0000 1.8
@@ -56,7 +56,10 @@
priv->buf = (uint8_t*) malloc(8);
if(!priv->buf)
+ {
+ free(priv);
return 0;
+ }
demuxer->priv = priv;
return 1;
More information about the MPlayer-cvslog
mailing list