Add RedChannel::(un)ref for reference counting and use them

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 1 May 2020 05:58 EDT

This will reduce code to avoid gobject and make code less type unsafe.

69fbef6f Add RedChannel::(un)ref for reference counting and use them
server/dcc.cpp | 4 ++--
server/display-channel.cpp | 4 ++--
server/red-channel-client.cpp | 26 +++++++++++++-------------
server/red-channel-client.h | 3 +++
server/red-channel.cpp | 5 +++--
server/red-client.cpp | 15 ++++++++++-----
6 files changed, 33 insertions(+), 24 deletions(-)

Upstream: cgit.freedesktop.org


  • Share