]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Fix leak in securityselinuxtest
authorJohn Ferlan <jferlan@redhat.com>
Wed, 23 Aug 2017 16:32:23 +0000 (12:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 23 Aug 2017 16:32:23 +0000 (12:32 -0400)
commitf60ec522a3c508c749d10e70f29c4ad8c6120b36
treecda47f02447b74144ffc2f2da5ed58f28e4b4ff8
parentf3cdbf22e3922d9f488b23ff0dcd55af95ac4f40
tests: Fix leak in securityselinuxtest

If we jump to the error: label and @secbuf is allocated, then it's not
free'd at all.

Found by Coverity
tests/securityselinuxtest.c