From: Yunqing Wang Date: Wed, 21 Mar 2012 17:54:58 +0000 (-0400) Subject: Minor fix: add back a vpx_free call X-Git-Tag: v1.1.0~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcee56bed574e614c51df94010449b939fddca17;p=libvpx Minor fix: add back a vpx_free call Added back a vpx_free call that was mistakenly removed. Change-Id: Ib662933a8697a4efb8534b5b9b762ee6c2777459 --- diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 1de7514d0..47c11acac 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -1106,6 +1106,9 @@ void vp8_alloc_compressor_data(VP8_COMP *cpi) width, height, VP8BORDERINPIXELS)) vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR, "Failed to allocate scaled source buffer"); + + vpx_free(cpi->tok); + { #if CONFIG_REALTIME_ONLY & CONFIG_ONTHEFLY_BITPACKING unsigned int tokens = 8 * 24 * 16; /* one MB for each thread */