udpsrc: fix string leak

This commit is contained in:
Vincent Penquerc'h 2012-01-24 14:53:38 +00:00
parent 73754081e5
commit 6429359d55

View file

@ -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;