diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-03-03 14:50:53 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-03-04 19:36:24 +0100 |
commit | 14aa1ba8020ef66b4463e92e9bb8d699ebbd5ba9 (patch) | |
tree | 35b7367c7fb4d01b7da80a8c322e4881d5841c14 | |
parent | 7f06ca6e2ba4769adfcff6d7d0491349d8a69654 (diff) | |
download | ffmpeg-14aa1ba8020ef66b4463e92e9bb8d699ebbd5ba9.tar.gz |
libmpcodecs/vf_pp: import memleak fix from MPlayer.
-rw-r--r-- | libavfilter/libmpcodecs/vf_pp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/libmpcodecs/vf_pp.c b/libavfilter/libmpcodecs/vf_pp.c index 3fa008c662..b70eedce2c 100644 --- a/libavfilter/libmpcodecs/vf_pp.c +++ b/libavfilter/libmpcodecs/vf_pp.c @@ -79,6 +79,7 @@ static void uninit(struct vf_instance *vf){ pp_free_mode(vf->priv->ppMode[i]); } if(vf->priv->context) pp_free_context(vf->priv->context); + free(vf->priv); } static int query_format(struct vf_instance *vf, unsigned int fmt){ |