From 5796013b353932af006855e1f8f2f56d0a8d507d Mon Sep 17 00:00:00 2001 From: Jonas Holmberg Date: Tue, 3 Dec 2024 15:11:26 +0100 Subject: [PATCH] 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. --- spa/plugins/filter-graph/filter-graph.c | 1 - 1 file changed, 1 deletion(-) diff --git a/spa/plugins/filter-graph/filter-graph.c b/spa/plugins/filter-graph/filter-graph.c index 75965ed47..586469811 100644 --- a/spa/plugins/filter-graph/filter-graph.c +++ b/spa/plugins/filter-graph/filter-graph.c @@ -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);