diff --git a/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-server.c b/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-server.c index 9d3cb584dc..ddde369a7a 100644 --- a/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-server.c +++ b/subprojects/gst-rtsp-server/gst/rtsp-server/rtsp-server.c @@ -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; } }