adapter: free slave in the module

This commit is contained in:
Wim Taymans 2019-07-17 15:31:01 +02:00
parent 53d3d5cb0c
commit af1b012a70
3 changed files with 14 additions and 6 deletions

View file

@ -71,9 +71,8 @@ static void spa_node_free(void *data)
pw_log_debug("spa-node %p: free", node);
spa_hook_remove(&impl->node_listener);
if (impl->handle) {
if (impl->handle)
pw_unload_spa_handle(impl->handle);
}
free(impl->factory_name);
}