Re: [libvirt] [ libvirt-python BUG ?] Memory leak in libvirt_virConnectDomainEventJobCompletedCallback

2017-01-20 Thread Michal Privoznik
On 01/18/2017 08:51 AM, Hailiang Zhang wrote: > Hi all, > > It seems that, there is a memory leak bug in > libvirt_virConnectDomainEventJobCompletedCallback() > function of libvirt-override.c. > > We didn't decrease the reference of 'pyobj_dict' in this function or any > other places > while pyt0

[libvirt] [ libvirt-python BUG ?] Memory leak in libvirt_virConnectDomainEventJobCompletedCallback

2017-01-17 Thread Hailiang Zhang
Hi all, It seems that, there is a memory leak bug in libvirt_virConnectDomainEventJobCompletedCallback() function of libvirt-override.c. We didn't decrease the reference of 'pyobj_dict' in this function or any other places while pyt0bj_ret is not zero. libvirt_virConnectDomainEventJobComplete