projects
/
platform
/
upstream
/
gst-rtsp-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f49c2d
)
client: don't leak transports
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 07:59:06 +0000
(09:59 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 08:14:06 +0000
(10:14 +0200)
gst/rtsp-server/rtsp-client.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-client.c
b/gst/rtsp-server/rtsp-client.c
index 0c631084c1fb16b1fc4291ae8bbe07edf520a607..c1194dad681b12ef6173598cd2361fd831cffd1e 100644
(file)
--- a/
gst/rtsp-server/rtsp-client.c
+++ b/
gst/rtsp-server/rtsp-client.c
@@
-1012,6
+1012,7
@@
not_found:
{
send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state);
g_object_unref (session);
+ gst_rtsp_transport_free (ct);
return FALSE;
}
no_stream:
@@
-1035,11
+1036,13
@@
unsupported_transports:
no_pool:
{
send_generic_response (client, GST_RTSP_STS_SERVICE_UNAVAILABLE, state);
+ gst_rtsp_transport_free (ct);
return FALSE;
}
service_unavailable:
{
send_generic_response (client, GST_RTSP_STS_SERVICE_UNAVAILABLE, state);
+ gst_rtsp_transport_free (ct);
return FALSE;
}
}