Re: [libvirt] [PATCH 2/5] testCompareMemLock: Use correct free function for domain def

2017-08-10 Thread Ján Tomko
On Thu, Aug 10, 2017 at 09:29:07AM +0200, Michal Privoznik wrote: This is a nice example of volkswagened code. It passes tests but Please remove the brand reference before pushing Jan doesn't work as expected really. virDomainDef is not an instance of virObject thus virObjectUnref() is not

[libvirt] [PATCH 2/5] testCompareMemLock: Use correct free function for domain def

2017-08-10 Thread Michal Privoznik
This is a nice example of volkswagened code. It passes tests but doesn't work as expected really. virDomainDef is not an instance of virObject thus virObjectUnref() is not the correct function to be called. Signed-off-by: Michal Privoznik --- tests/qemumemlocktest.c | 2 +-