fix some leaks

Make pw_get_client_name() return a static string.
Unload the dbus interface. Rename the method to make it more obvious
that the interface needs to be unloaded.
Free module properties
Free remote objects and types
Free stream params and the array
This commit is contained in:
Wim Taymans 2018-09-19 13:38:39 +02:00
parent 4fd72eaee0
commit 627dfa3da2
9 changed files with 31 additions and 19 deletions

View file

@ -319,7 +319,7 @@ gst_pipewire_src_init (GstPipeWireSrc * src)
g_queue_init (&src->queue);
src->client_name = pw_get_client_name ();
src->client_name = g_strdup(pw_get_client_name ());
src->pool = gst_pipewire_pool_new ();
src->loop = pw_loop_new (NULL);