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:
Jonas Holmberg 2024-12-03 15:11:26 +01:00
parent 31c240f6b8
commit 5796013b35

View file

@ -739,7 +739,6 @@ static void plugin_unref(struct plugin *hndl)
return;
spa_list_remove(&hndl->link);
spa_handle_clear(hndl->hndl);
if (hndl->hndl)
spa_plugin_loader_unload(impl->loader, hndl->hndl);
free(hndl);