[MPlayer-cvslog] CVS: main/libmpcodecs dec_audio.c,1.32,1.33

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Mon Nov 15 16:05:15 CET 2004


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv25150

Modified Files:
	dec_audio.c 
Log Message:
Free WAVEFORMATEX in sh_audio when all other sh_audio members are freed.


Index: dec_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/dec_audio.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- dec_audio.c	16 Sep 2004 19:51:13 -0000	1.32
+++ dec_audio.c	15 Nov 2004 15:05:12 -0000	1.33
@@ -252,6 +252,8 @@
     sh_audio->a_buffer=NULL;
     if(sh_audio->a_in_buffer) free(sh_audio->a_in_buffer);
     sh_audio->a_in_buffer=NULL;
+    if(sh_audio->wf) free(sh_audio->wf);
+    sh_audio->wf=NULL;
 }
 
  /* Init audio filters */




More information about the MPlayer-cvslog mailing list