]> granicus.if.org Git - libvpx/commitdiff
vp8 denoiser fix: free memory of denoiser->denoiser_state.
authorMarco Paniconi <marpan@google.com>
Sun, 29 Jun 2014 23:43:56 +0000 (16:43 -0700)
committerMarco Paniconi <marpan@google.com>
Mon, 30 Jun 2014 00:04:43 +0000 (17:04 -0700)
Change-Id: I86451ddfa90d871e46e5b4c97794dbef65293c6c

vp8/encoder/denoising.c

index 9ad41136677f324b13b7097ce847c8ecb0b53728..94aa2ca24074efc2c348a7fe2d6b74b50a139945 100644 (file)
@@ -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);
 }