libmpcodecs/vf_pp: import memleak fix from MPlayer.
[ffmpeg.git] / 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){