[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.58,1.59
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Oct 14 17:09:37 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv3377/libmpdemux
Modified Files:
demux_ogg.c
Log Message:
some memory leaks fixed
Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- demux_ogg.c 28 Sep 2004 14:00:49 -0000 1.58
+++ demux_ogg.c 14 Oct 2004 15:09:34 -0000 1.59
@@ -1424,8 +1424,13 @@
subcp_close();
#endif
+ ogg_sync_clear(&ogg_d->sync);
if(ogg_d->subs)
+ {
+ for (i = 0; i < ogg_d->num_sub; i++)
+ ogg_stream_clear(&ogg_d->subs[i].stream);
free(ogg_d->subs);
+ }
if(ogg_d->syncpoints)
free(ogg_d->syncpoints);
if (ogg_d->text_ids)
More information about the MPlayer-cvslog
mailing list