libmpcodecs/vf_pp: import memleak fix from MPlayer.
authorNicolas George <nicolas.george@normalesup.org>
Sat, 3 Mar 2012 13:50:53 +0000 (14:50 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 4 Mar 2012 18:36:24 +0000 (19:36 +0100)
libavfilter/libmpcodecs/vf_pp.c

index 3fa008c..b70eedc 100644 (file)
@@ -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){