projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907735e
)
Try to fix memory leak in filter graph.
author
Carl Hetherington
<cth@carlh.net>
Sat, 25 May 2013 14:59:25 +0000
(15:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 25 May 2013 14:59:25 +0000
(15:59 +0100)
src/lib/filter_graph.cc
patch
|
blob
|
history
diff --git
a/src/lib/filter_graph.cc
b/src/lib/filter_graph.cc
index b0427a23d0566166921fd6e95eceb5b86c879505..8ff5e75df3d3ee6f5575778147db7210e0350d77 100644
(file)
--- 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;