projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9213d69
)
a52dec: Fix out buffer memory leak in error code path
author
Ponnam Srinivas
<p.srinivas@samsung.com>
Tue, 26 Sep 2017 04:41:24 +0000
(10:11 +0530)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 26 Sep 2017 08:13:33 +0000
(11:13 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=788119
ext/a52dec/gsta52dec.c
patch
|
blob
|
history
diff --git
a/ext/a52dec/gsta52dec.c
b/ext/a52dec/gsta52dec.c
index
eabf152
..
450152a
100644
(file)
--- a/
ext/a52dec/gsta52dec.c
+++ b/
ext/a52dec/gsta52dec.c
@@
-625,6
+625,7
@@
gst_a52dec_handle_frame (GstAudioDecoder * bdec, GstBuffer * buffer)
("error decoding block %d", i), result);
if (result != GST_FLOW_OK) {
gst_buffer_unmap (outbuf, &map);
+ gst_buffer_unref (outbuf);
goto exit;
}
} else {