Re: [libvirt] [PATCH 4/4] storagepoolxml2argvtest: Avoid double free

2019-05-14 Thread Erik Skultety
On Tue, May 14, 2019 at 11:24:12AM +0200, Michal Privoznik wrote: > A double free may occur in testCompareXMLToArgvFiles() when @def > is freed right after virStoragePoolObjNew() failed and the second > time at cleanup label. > > Signed-off-by: Michal Privoznik > --- Reviewed-by: Erik Skultety

[libvirt] [PATCH 4/4] storagepoolxml2argvtest: Avoid double free

2019-05-14 Thread Michal Privoznik
A double free may occur in testCompareXMLToArgvFiles() when @def is freed right after virStoragePoolObjNew() failed and the second time at cleanup label. Signed-off-by: Michal Privoznik --- tests/storagepoolxml2argvtest.c | 1 - 1 file changed, 1 deletion(-) diff --git