mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
dbus: Fix connection cleanup when killing clients
This commit is contained in:
parent
a3b8b6a07e
commit
10262197d0
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ static void client_kill_cb(pa_client *c) {
|
|||
pa_assert(c->userdata);
|
||||
|
||||
conn = c->userdata;
|
||||
pa_idxset_remove_by_data(conn->server->userdata->connections, conn, NULL);
|
||||
connection_free(conn);
|
||||
c->userdata = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue