summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-25 15:59:25 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-25 15:59:25 +0100
commit3a72d3e7af018d4e4474d48d9007841a0c63c020 (patch)
treeeeb5d4df5716c5a32decad33aa746fc343c58b6a /src/lib
parent907735ee6ca162583c7c9d20f5603a6db83a149f (diff)
Try to fix memory leak in filter graph.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/filter_graph.cc1
1 files changed, 1 insertions, 0 deletions
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<Image> (new SimpleImage (_frame)));
+ av_frame_unref (_frame);
}
return images;