[Mplayer-cvslog] CVS: main stream.c,1.14,1.15

Arpi of Ize arpi at mplayer.dev.hu
Thu Aug 23 01:54:40 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv12193

Modified Files:
	stream.c 
Log Message:
free'ing priv struct

Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/stream.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- stream.c	20 Aug 2001 20:18:27 -0000	1.14
+++ stream.c	22 Aug 2001 23:54:38 -0000	1.15
@@ -158,11 +158,13 @@
   s->type=type;
   s->buf_pos=s->buf_len=0;
   s->start_pos=s->end_pos=0;
+  s->priv=NULL;
   stream_reset(s);
   return s;
 }
 
 void free_stream(stream_t *s){
+  if(s->priv) free(s->priv);
   free(s);
 }
 




More information about the MPlayer-cvslog mailing list