projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b955c0
)
basesrc: do not leak buffer pool in error case
author
Ilya Konstantinov
<ilya.konstantinov@gmail.com>
Sat, 4 Apr 2015 01:14:50 +0000
(
04:14
+0300)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 4 Apr 2015 10:14:12 +0000
(11:14 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=747321
libs/gst/base/gstbasesrc.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbasesrc.c
b/libs/gst/base/gstbasesrc.c
index
b1f9c29
..
b0112e6
100644
(file)
--- a/
libs/gst/base/gstbasesrc.c
+++ b/
libs/gst/base/gstbasesrc.c
@@
-3115,6
+3115,7
@@
config_failed:
GST_ELEMENT_ERROR (basesrc, RESOURCE, SETTINGS,
("Failed to configure the buffer pool"),
("Configuration is most likely invalid, please report this issue."));
+ gst_object_unref (pool);
return FALSE;
}