From 9e434fa014f57084f3593ae7410429f201c0244b Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 25 Dec 2007 12:22:50 +0000 Subject: [PATCH] Add a missing free of the avctx git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25528 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_screenshot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c index 6c86d0dd79..88cc8a6323 100644 --- a/libmpcodecs/vf_screenshot.c +++ b/libmpcodecs/vf_screenshot.c @@ -290,6 +290,7 @@ static int screenshot_open(vf_instance_t *vf, char* args) static void uninit(vf_instance_t *vf) { + av_freep(&vf->priv->avctx); if(vf->priv->ctx) sws_freeContext(vf->priv->ctx); if (vf->priv->buffer) free(vf->priv->buffer); free(vf->priv->outbuffer);