Commit 14aa1ba8 authored by Nicolas George's avatar Nicolas George

libmpcodecs/vf_pp: import memleak fix from MPlayer.

parent 7f06ca6e
...@@ -79,6 +79,7 @@ static void uninit(struct vf_instance *vf){ ...@@ -79,6 +79,7 @@ static void uninit(struct vf_instance *vf){
pp_free_mode(vf->priv->ppMode[i]); pp_free_mode(vf->priv->ppMode[i]);
} }
if(vf->priv->context) pp_free_context(vf->priv->context); if(vf->priv->context) pp_free_context(vf->priv->context);
free(vf->priv);
} }
static int query_format(struct vf_instance *vf, unsigned int fmt){ static int query_format(struct vf_instance *vf, unsigned int fmt){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment