mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
filter-graph: Fix double spa_handle_clear()
Don't explicitly call spa_handle_clear() in plugin_unref() since it is called from spa_plugin_loader_unload() too.
This commit is contained in:
parent
31c240f6b8
commit
5796013b35
1 changed files with 0 additions and 1 deletions
|
|
@ -739,7 +739,6 @@ static void plugin_unref(struct plugin *hndl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
spa_list_remove(&hndl->link);
|
spa_list_remove(&hndl->link);
|
||||||
spa_handle_clear(hndl->hndl);
|
|
||||||
if (hndl->hndl)
|
if (hndl->hndl)
|
||||||
spa_plugin_loader_unload(impl->loader, hndl->hndl);
|
spa_plugin_loader_unload(impl->loader, hndl->hndl);
|
||||||
free(hndl);
|
free(hndl);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue