dbus: Fix connection cleanup when killing clients

This commit is contained in:
Tanu Kaskinen 2013-02-06 12:31:33 +02:00
parent a3b8b6a07e
commit 10262197d0

View file

@ -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;