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

Ján Tomko jtomko at redhat.com
Tue Feb 12 15:44:02 UTC 2019


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 <jferlan at redhat.com>
>---
> tests/storagepoolxml2argvtest.c | 13 +++++++++----
> 1 file changed, 9 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190212/b6039771/attachment-0001.sig>


More information about the libvir-list mailing list