rtsp-server: Free client if no connection could be created

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3164>
This commit is contained in:
Linus Svensson 2022-08-19 16:16:26 +02:00 committed by GStreamer Marge Bot
parent 3215136d67
commit f5451f7ff2

View file

@ -1217,6 +1217,7 @@ no_connection:
GST_ERROR ("could not create connection from socket %p: %s", socket, str);
g_free (str);
g_object_unref (socket);
g_object_unref (client);
return FALSE;
}
}