Commit 711aff9d authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "vp9/encoder: fix last_frame_seg_map mem leak"

parents d843ac51 a5726ac4
......@@ -1450,10 +1450,6 @@ VP9_PTR vp9_create_compressor(VP9_CONFIG *oxcf) {
CHECK_MEM_ERROR(cm, cpi->segmentation_map,
vpx_calloc(cm->mi_rows * cm->mi_cols, 1));
// And a copy in common for temporal coding
CHECK_MEM_ERROR(cm, cm->last_frame_seg_map,
vpx_calloc(cm->mi_rows * cm->mi_cols, 1));
// And a place holder structure is the coding context
// for use if we want to save and restore it
CHECK_MEM_ERROR(cm, cpi->coding_context.last_frame_seg_map_copy,
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