mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
4fd72eaee0
commit
627dfa3da2
9 changed files with 31 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue