From 2687b43dd037bb5aa210996d166885828d8bea05 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 30 Mar 2014 10:19:02 +0200 Subject: 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. --- video/filter/vf_eq.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3