diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c
index 2163b7bae50c305cc2dfc9f508f31e346227a1a3..7f2498f523219e2265c154057df3bd6d2b849864 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;
 }