Re: [libvirt] [PATCH v3 5/8] tests: Fix memory leak in testCompareXMLToArgvFiles

2019-02-12 Thread Ján Tomko
On Tue, Feb 12, 2019 at 09:19:03AM -0500, John Ferlan wrote: Only one path will consume the @def; otherwise, we need to free it. Signed-off-by: John Ferlan --- tests/storagepoolxml2argvtest.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) Reviewed-by: Ján Tomko Jano s

[libvirt] [PATCH v3 5/8] tests: Fix memory leak in testCompareXMLToArgvFiles

2019-02-12 Thread John Ferlan
Only one path will consume the @def; otherwise, we need to free it. Signed-off-by: John Ferlan --- tests/storagepoolxml2argvtest.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/storagepoolxml2argvtest.c b/tests/storagepoolxml2argvtest.c index 288b81af1d.