From: Dmitry Kovalev Date: Mon, 7 Apr 2014 21:21:43 +0000 (-0700) Subject: Fixing memory leak introduced in previous commit. X-Git-Tag: v1.4.0~1882^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=579504b2eff7a30603ce1aad8e32e6e3433c35ae;p=libvpx Fixing memory leak introduced in previous commit. Commit introduced the leak: "Removing XMA legacy from VP9 code." I5e9dfc50b6312848df8c3b8276f6b4d0c7ff9cf9 Change-Id: Ia1f91bb8403bef340de9f089fa78b3fccc3e9917 --- diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index 2163b7bae..7f2498f52 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -89,6 +89,8 @@ static vpx_codec_err_t decoder_destroy(vpx_codec_alg_priv_t *ctx) { ctx->pbi = NULL; } + vpx_free(ctx); + return VPX_CODEC_OK; }