rtsp-client: free transport on no_stream in SETUP handler

This commit is contained in:
David Svensson Fors 2012-06-12 14:45:39 +02:00 committed by Wim Taymans
parent 8f5d82be6d
commit 3f49c2d8f4

View file

@ -1018,6 +1018,7 @@ no_stream:
{ {
send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state); send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state);
g_object_unref (session); g_object_unref (session);
gst_rtsp_transport_free (ct);
return FALSE; return FALSE;
} }
no_transport: no_transport: