red-client: Make sure MainChannelClient is freed as last

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 11 December 2019 12:47 EST

MainChannelClient is used by other clients to store some data so should not disappear if other clients are still present. Keep a owning reference to it and release after RedClient is released.

59be4f19 red-client: Make sure MainChannelClient is freed as last
server/red-client.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share