projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24b58d
)
rtspsrc: avoid leak
author
Daniela
<daniela.muzzu@selexelsag.com>
Fri, 7 Sep 2012 14:15:42 +0000
(16:15 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 7 Sep 2012 14:33:18 +0000
(16:33 +0200)
When setup fails, make sure to cleanup afterwards.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673509
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
e592850
..
3a1d538
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-5548,6
+5548,7
@@
gst_rtspsrc_open_from_sdp (GstRTSPSrc * src, GstSDPMessage * sdp,
setup_failed:
{
GST_ERROR_OBJECT (src, "setup failed");
+ gst_rtspsrc_cleanup (src);
return res;
}
}