summaryrefslogtreecommitdiffstats
path: root/server/snd_worker.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-08-22 15:36:56 +0100
committerAlon Levy <alevy@redhat.com>2011-08-23 18:28:59 +0300
commit9255515c15e4c322c35395b31e056a807b389289 (patch)
treebaec5606e52ef853c974d07af04f6cd96bc6008c /server/snd_worker.c
parent439993d7882bc5a9b1055553f30b8b18140b7f0d (diff)
downloadspice-9255515c15e4c322c35395b31e056a807b389289.tar.gz
spice-9255515c15e4c322c35395b31e056a807b389289.tar.xz
spice-9255515c15e4c322c35395b31e056a807b389289.zip
server/snd_worker.c: add red_channel_client_destroy_dummy
Diffstat (limited to 'server/snd_worker.c')
-rw-r--r--server/snd_worker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/snd_worker.c b/server/snd_worker.c
index 4c9a6f01..08947859 100644
--- a/server/snd_worker.c
+++ b/server/snd_worker.c
@@ -216,6 +216,7 @@ static void snd_disconnect_channel(SndChannel *channel)
}
channel->cleanup(channel);
worker = channel->worker;
+ red_channel_client_destroy_dummy(worker->connection->channel_client);
worker->connection = NULL;
core->watch_remove(channel->stream->watch);
channel->stream->watch = NULL;