diff options
author | wm4 <wm4@nowhere> | 2014-03-30 10:19:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-30 17:55:12 +0200 |
commit | 2687b43dd037bb5aa210996d166885828d8bea05 (patch) | |
tree | 668439574a8b1cd9a289bfc2c92f00879cf5b460 | |
parent | bb40daf367e871fd8dd594c99874f52d3d5b4386 (diff) | |
download | mpv-2687b43dd037bb5aa210996d166885828d8bea05.tar.bz2 mpv-2687b43dd037bb5aa210996d166885828d8bea05.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.
-rw-r--r-- | video/filter/vf_eq.c | 1 |
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; |