Have to free the noiseoffset array in psy_clear
authorMonty <xiphmont@xiph.org>
Mon, 22 Jan 2001 06:32:02 +0000 (06:32 +0000)
committerMonty <xiphmont@xiph.org>
Mon, 22 Jan 2001 06:32:02 +0000 (06:32 +0000)
svn path=/trunk/vorbis/; revision=1193

lib/psy.c

index c02bab9..5a50541 100644 (file)
--- a/lib/psy.c
+++ b/lib/psy.c
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.35 2001/01/22 01:38:25 xiphmont Exp $
+ last mod: $Id: psy.c,v 1.36 2001/01/22 06:32:02 xiphmont Exp $
 
  ********************************************************************/
 
@@ -323,6 +323,7 @@ void _vp_psy_clear(vorbis_look_psy *p){
       }
       _ogg_free(p->tonecurves);
       _ogg_free(p->noisemedian);
+      _ogg_free(p->noiseoffset);
       _ogg_free(p->peakatt);
     }
     memset(p,0,sizeof(vorbis_look_psy));