mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00:00
vf_eq: don't malloc priv struct
There wasn't any reason for this. In fact, it's a memory leak. The proper priv struct is already allocated vf.c and the option parser.
This commit is contained in:
parent
9b5cbe4bf0
commit
9db08cf53b
@ -469,7 +469,6 @@ int vf_open(vf_instance_t *vf)
|
||||
vf->filter = filter;
|
||||
vf->uninit = uninit;
|
||||
|
||||
vf->priv = malloc (sizeof (vf_eq2_t));
|
||||
eq2 = vf->priv;
|
||||
eq2->log = vf->log;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user