diff --git a/vp8/encoder/denoising.c b/vp8/encoder/denoising.c index 9ad411366..94aa2ca24 100644 --- a/vp8/encoder/denoising.c +++ b/vp8/encoder/denoising.c @@ -383,6 +383,7 @@ void vp8_denoiser_free(VP8_DENOISER *denoiser) vp8_yv12_de_alloc_frame_buffer(&denoiser->yv12_running_avg[i]); } vp8_yv12_de_alloc_frame_buffer(&denoiser->yv12_mc_running_avg); + vpx_free(denoiser->denoise_state); }