From 3a72d3e7af018d4e4474d48d9007841a0c63c020 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 25 May 2013 15:59:25 +0100 Subject: Try to fix memory leak in filter graph. --- src/lib/filter_graph.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib') diff --git a/src/lib/filter_graph.cc b/src/lib/filter_graph.cc index b0427a23d..8ff5e75df 100644 --- a/src/lib/filter_graph.cc +++ b/src/lib/filter_graph.cc @@ -150,6 +150,7 @@ FFmpegFilterGraph::process (AVFrame* frame) } images.push_back (shared_ptr (new SimpleImage (_frame))); + av_frame_unref (_frame); } return images; -- cgit v1.2.3