Commit 5d15721d authored by Debargha Mukherjee's avatar Debargha Mukherjee

Fix a memory leak

Change-Id: I1f66837151a955a9fde0c1b4670ab0fc1d318111
parent 66ca5977
...@@ -2600,6 +2600,10 @@ void av1_remove_compressor(AV1_COMP *cpi) { ...@@ -2600,6 +2600,10 @@ void av1_remove_compressor(AV1_COMP *cpi) {
cpi->twopass.frame_mb_stats_buf = NULL; cpi->twopass.frame_mb_stats_buf = NULL;
} }
#endif #endif
#if CONFIG_INTERNAL_STATS
aom_free(cpi->ssim_vars);
cpi->ssim_vars = NULL;
#endif // CONFIG_INTERNAL_STATS
av1_remove_common(cm); av1_remove_common(cm);
av1_free_ref_frame_buffers(cm->buffer_pool); av1_free_ref_frame_buffers(cm->buffer_pool);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment