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:
f01b751
)
rtspsrc: avoid strdup
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 2 Jul 2013 08:37:35 +0000
(10:37 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 2 Jul 2013 08:40:35 +0000
(10:40 +0200)
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
911069f
..
af66df8
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-5458,9
+5458,8
@@
gst_rtspsrc_setup_streams (GstRTSPSrc * src, gboolean async)
goto create_request_failed;
}
- /* select transport, copy is made when adding to header so we can free it. */
- gst_rtsp_message_add_header (&request, GST_RTSP_HDR_TRANSPORT, transports);
- g_free (transports);
+ /* select transport */
+ gst_rtsp_message_take_header (&request, GST_RTSP_HDR_TRANSPORT, transports);
/* if the user wants a non default RTP packet size we add the blocksize
* parameter */