mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
Use refcounting for async shutdown
fix some memory leaks
This commit is contained in:
parent
ee0aa6a2ac
commit
6d4db64767
21 changed files with 216 additions and 260 deletions
|
|
@ -82,7 +82,8 @@ try_link_port (PinosNode *node, PinosPort *port, ModuleImpl *impl)
|
|||
|
||||
error:
|
||||
{
|
||||
pinos_node_update_state (node, PINOS_NODE_STATE_ERROR, error);
|
||||
pinos_log_error ("module %p: can't link node '%s'", impl, error);
|
||||
free (error);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -271,6 +272,6 @@ module_destroy (ModuleImpl *impl)
|
|||
bool
|
||||
pinos__module_init (PinosModule * module, const char * args)
|
||||
{
|
||||
module_new (module->core, NULL);
|
||||
module->user_data = module_new (module->core, NULL);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue