summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-30 10:19:02 +0200
committerwm4 <wm4@nowhere>2014-03-30 10:19:02 +0200
commit9db08cf53b0de042bf16bd14fdb524f8ec4b563d (patch)
tree20e7c978abba2bfa3ee52ca6cb16d3c9bfd10428 /video
parent9b5cbe4bf0b12282d19098af66cf80d05b7ca6aa (diff)
downloadmpv-9db08cf53b0de042bf16bd14fdb524f8ec4b563d.tar.bz2
mpv-9db08cf53b0de042bf16bd14fdb524f8ec4b563d.tar.xz
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.
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_eq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/filter/vf_eq.c b/video/filter/vf_eq.c
index d362390d88..8bdbd9d5bd 100644
--- a/video/filter/vf_eq.c
+++ b/video/filter/vf_eq.c
@@ -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;