summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pipewire-cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pipewire-cli.c b/src/tools/pipewire-cli.c
index 3f28ebcf..775d0be9 100644
--- a/src/tools/pipewire-cli.c
+++ b/src/tools/pipewire-cli.c
@@ -992,7 +992,7 @@ static bool do_destroy(struct data *data, const char *cmd, char *args, char **er
asprintf(error, "%s: unknown global %d", cmd, id);
return false;
}
- pw_core_proxy_destroy(rd->core_proxy, id);
+ pw_registry_proxy_destroy(rd->registry_proxy, id);
return true;
}