There are some doubles being allocated in aeval_config_output which is
called by avfilter_graph_config. They are not being deleted and I am (on my
filter graph) seeing two doubles (16 bytes on my system) of leaked memory.

- Ole Andre Birkedal
From e4c6316a2d90624277f933fe64b5c8397793b6ca Mon Sep 17 00:00:00 2001
From: Ole Andre Birkedal <birke...@extab.net>
Date: Tue, 10 Mar 2015 14:12:30 +0100
Subject: [PATCH] Fixed a memory leak in EvalContext::channel_values

---
 libavfilter/aeval.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/aeval.c b/libavfilter/aeval.c
index 45629a9..69de1f7 100644
--- a/libavfilter/aeval.c
+++ b/libavfilter/aeval.c
@@ -217,6 +217,7 @@ static av_cold void uninit(AVFilterContext *ctx)
         eval->expr[i] = NULL;
     }
     av_freep(&eval->expr);
+    av_freep(&eval->channel_values);
 }
 
 static int config_props(AVFilterLink *outlink)
-- 
1.9.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to