[Spice-devel] [PATCH spice-server 1/2] server/red_channel: fix possible access to released channel clients

Christophe Fergeau cfergeau at redhat.com
Mon Jun 4 05:39:17 PDT 2012


On Mon, Jun 04, 2012 at 03:26:02PM +0300, Alon Levy wrote:
> On Mon, Jun 04, 2012 at 11:46:02AM +0200, Christophe Fergeau wrote:
> > On Thu, May 31, 2012 at 10:04:05AM +0300, Yonit Halperin wrote:
> > > Added ref count for RedChannel and RedChannelClient.
> > 
> > Just a side note, longer term we should probably introduce a
> > SpiceRefCounted base class which would contain a refcount and a destructor
> > function, and then we'd be able to use generic ref/unref functions on the
> > various objects instead of always reimplementing it. One way of doing that
> > would be to use gobjects, but I don't know how well that would fit within
> > qemu.
> 
> That will fit just fine with qemu, that is using glib for 1.1 and I
> think since 1.0, so no added dependency.

Kind of, they are using glib, but went with their own object model instead
of using gobject.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120604/4a3de3b4/attachment.pgp>


More information about the Spice-devel mailing list