shithub: libvpx

Download patch

ref: 711aff9d9d9a260c9f9f4e1a24a3fca60f01af8e
parent: d843ac51326c8e7961090ea76d466839b01b889f
parent: a5726ac453274e849a3efb922cdf66bfd14218fc
author: James Zern <[email protected]>
date: Thu Aug 22 14:04:03 EDT 2013

Merge "vp9/encoder: fix last_frame_seg_map mem leak"

--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -1450,10 +1450,6 @@
   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,