Re: [Spice-devel] [PATCH 01/20] Add reference counting to PipeItem class

2016-04-15 Thread Pavel Grunt
On Thu, 2016-04-14 at 16:50 -0500, Jonathon Jongsma wrote: > From: Christophe Fergeau > > A user-defined callback is called when the refcount drops to 0. > > Reference counting is manually coded for several classes deriving > from > PipeItem, so this change will help to share this code, and allo

[Spice-devel] [PATCH 01/20] Add reference counting to PipeItem class

2016-04-14 Thread Jonathon Jongsma
From: Christophe Fergeau A user-defined callback is called when the refcount drops to 0. Reference counting is manually coded for several classes deriving from PipeItem, so this change will help to share this code, and allow to remove some ref/unref virtual functions in some interfaces when we c