mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-03-23 14:30:49 +01:00
m-default-nodes-api: free default nodes when disabling plugin
This commit is contained in:
parent
464f1de641
commit
8ba6439dd4
1 changed files with 3 additions and 0 deletions
|
|
@ -144,6 +144,9 @@ wp_default_nodes_api_disable (WpPlugin * plugin)
|
|||
if (self->idle_source)
|
||||
g_source_destroy (self->idle_source);
|
||||
g_clear_pointer (&self->idle_source, g_source_unref);
|
||||
|
||||
for (guint i = 0; i < N_DEFAULT_NODES; i++)
|
||||
g_clear_pointer (&self->defaults[i], g_free);
|
||||
g_clear_object (&self->om);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue