mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
udpsrc: fix string leak
This commit is contained in:
parent
73754081e5
commit
6429359d55
1 changed files with 3 additions and 0 deletions
|
@ -322,6 +322,9 @@ gst_udpsrc_finalize (GObject * object)
|
|||
g_free (udpsrc->uri);
|
||||
udpsrc->uri = NULL;
|
||||
|
||||
g_free (udpsrc->host);
|
||||
udpsrc->host = NULL;
|
||||
|
||||
if (udpsrc->socket)
|
||||
g_object_unref (udpsrc->socket);
|
||||
udpsrc->socket = NULL;
|
||||
|
|
Loading…
Reference in a new issue