git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a76e91b
)
avfilter/vf_qp: Fix leak of out_qp_table_buf
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Feb 2015 12:12:06 +0000
(13:12 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 18 Feb 2015 12:12:06 +0000
(13:12 +0100)
Fixes CID1270821
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_qp.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_qp.c
b/libavfilter/vf_qp.c
index
9c0679a
..
d976634
100644
(file)
--- a/
libavfilter/vf_qp.c
+++ b/
libavfilter/vf_qp.c
@@
-95,6
+95,7
@@
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
out = av_frame_clone(in);
if (!out) {
+ av_buffer_unref(&out_qp_table_buf);
ret = AVERROR(ENOMEM);
goto fail;
}