From e734fcb114878b538713ecef17c42cf6b5427852 Mon Sep 17 00:00:00 2001 From: "Nathan E. Egge" Date: Fri, 14 Oct 2016 07:07:03 -0400 Subject: [PATCH] Free memory allocated by daala_ec encoder. Free the two memory buffers allocated by the daala_ec encoder when calling od_ec_enc_clear() from aom_daala_stop_encode(). Change-Id: If20e86374ea29e51ee59111012905e56039dd4cc --- aom_dsp/daalaboolwriter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/aom_dsp/daalaboolwriter.c b/aom_dsp/daalaboolwriter.c index 15a3af7a8..0ba8f6ab8 100644 --- a/aom_dsp/daalaboolwriter.c +++ b/aom_dsp/daalaboolwriter.c @@ -28,4 +28,5 @@ void aom_daala_stop_encode(daala_writer *br) { Must always be added, so that rawbits knows the exact length of the bitstream. */ br->buffer[br->pos++] = 0; + od_ec_enc_clear(&br->ec); } -- 2.50.1