rtsp-client: free transport on no_stream in SETUP handler
authorDavid Svensson Fors <davidsf@axis.com>
Tue, 12 Jun 2012 12:45:39 +0000 (14:45 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 14 Jun 2012 08:14:06 +0000 (10:14 +0200)
gst/rtsp-server/rtsp-client.c

index 49ad173..0c63108 100644 (file)
@@ -1018,6 +1018,7 @@ no_stream:
   {
     send_generic_response (client, GST_RTSP_STS_NOT_FOUND, state);
     g_object_unref (session);
+    gst_rtsp_transport_free (ct);
     return FALSE;
   }
 no_transport: