mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 21:03:10 +00:00
server/red_worker: use red_channel_destroy
This commit is contained in:
parent
966201c1ad
commit
9e46945a61
@ -7265,8 +7265,7 @@ static inline void red_unref_channel(RedChannel *channel)
|
||||
ASSERT(channel);
|
||||
common = SPICE_CONTAINEROF(channel, CommonChannel, base);
|
||||
if (!--common->listener.refs) {
|
||||
spice_marshaller_destroy(channel->send_data.marshaller);
|
||||
free(channel);
|
||||
red_channel_destroy(channel);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user