1
mirror of https://github.com/mpv-player/mpv synced 2024-08-04 14:59:58 +02:00

video/filter: fix some bogus free() calls

The generic filter code frees these; recent regression.
This commit is contained in:
wm4 2013-12-05 01:50:05 +01:00
parent 84cfe0d8b2
commit f6e68b33bc
4 changed files with 0 additions and 8 deletions

View File

@ -363,9 +363,6 @@ static void uninit(struct vf_instance *vf){
av_free(vf->priv->lumaParam.noise);
vf->priv->lumaParam.noise= NULL;
free(vf->priv);
vf->priv=NULL;
}
//===========================================================================//

View File

@ -237,7 +237,6 @@ static void uninit(struct vf_instance *vf)
free(vf->priv->buf[0]);
free(vf->priv->buf[1]);
free(vf->priv->buf[2]);
free(vf->priv);
}
static int query_format(struct vf_instance *vf, unsigned int fmt)

View File

@ -262,7 +262,6 @@ static int config(struct vf_instance *vf,
static void uninit(struct vf_instance *vf)
{
pullup_free_context(vf->priv->ctx);
free(vf->priv);
}
static int control(vf_instance_t *vf, int request, void *data)

View File

@ -201,9 +201,6 @@ static void uninit( struct vf_instance *vf ) {
av_free( fp->SC[z] );
fp->SC[z] = NULL;
}
free( vf->priv );
vf->priv = NULL;
}
//===========================================================================//