]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Resolve resource leaks found by Valgrind
authorJohn Ferlan <jferlan@redhat.com>
Mon, 4 Feb 2013 14:54:33 +0000 (09:54 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 7 Feb 2013 19:08:14 +0000 (14:08 -0500)
commit785d6bc58a8bdd5a48418c232a5d7bb8a2350c0c
tree1567389616e6bebade4f5736d287ef1edc5d300d
parent0eb62708a7cbd4e42d2ccb0b5d0c78ba93dd732e
qemuxml2argvtest: Resolve resource leaks found by Valgrind

Valgrind deterimined that fakeSecretGetValue() was using the secret
value without checking validity.  Returning NULL causes the caller
to emit a message and results in failure.

Additionally commit 'b090aa7d' changes leaked vncSASLdir and vncTLSx509certdir
tests/qemuxml2argvtest.c