mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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:
parent
3215136d67
commit
f5451f7ff2
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue