[libvirt] [PATCH] tests: Fix leak in securityselinuxtest

Ján Tomko jtomko at redhat.com
Wed Aug 23 16:57:24 UTC 2017


On Wed, Aug 23, 2017 at 12:35:54PM -0400, John Ferlan wrote:
>If we jump to the error: label and @secbuf is allocated, then it's not
>free'd at all.
>
>Found by Coverity
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> tests/securityselinuxtest.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

ACK

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170823/179f83d5/attachment-0001.sig>


More information about the libvir-list mailing list