[libvirt] [PATCH] Implement dispose method for libxlDomainObjPrivate

2013-06-13 Thread Frediano Ziglio
When creating a timer/event handler reference counting is used. So it could be possible (in theory) that libxlDomainObjPrivateFree is called with reference counting 1. The problem is that libxlDomainObjPrivateFree leave the object in an invalid state with ctx freed (but still having dandling

Re: [libvirt] [PATCH] Implement dispose method for libxlDomainObjPrivate

2013-06-13 Thread Jim Fehlig
Frediano Ziglio wrote: When creating a timer/event handler reference counting is used. So it could be possible (in theory) that libxlDomainObjPrivateFree is called with reference counting 1. The problem is that libxlDomainObjPrivateFree leave the object in an invalid state with ctx freed (but