forgot to free memory for low_innov. sb_celp is now 100% leak free (AFAIK)
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 23 Aug 2006 04:47:35 +0000 (04:47 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 23 Aug 2006 04:47:35 +0000 (04:47 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@11799 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/sb_celp.c

index 89ba473..12151b0 100644 (file)
@@ -363,6 +363,7 @@ void sb_encoder_destroy(void *state)
    speex_free(st->interp_lpc);
    speex_free(st->interp_qlpc);
    speex_free(st->pi_gain);
+   speex_free(st->low_innov);
 
    speex_free(st->mem_sp);
    speex_free(st->mem_sp2);
@@ -928,6 +929,7 @@ void sb_decoder_destroy(void *state)
    speex_free(st->interp_qlsp);
    speex_free(st->interp_qlpc);
    speex_free(st->pi_gain);
+   speex_free(st->low_innov);
    speex_free(st->mem_sp);
 
    speex_free(state);