[libvirt] [PATCH v2] storage: Avoid leak in virStorageUtilGlusterExtractPoolSources()

Peter Krempa pkrempa at redhat.com
Thu Apr 6 07:56:43 UTC 2017


On Thu, Apr 06, 2017 at 09:53:11 +0200, Andrea Bolognani wrote:
> The contents of volname would be leaked if the function were
> to be passed an invalid pooltype by the caller.

Which won't ever happen.

> Make sure the memory is released instead.
> ---

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


More information about the libvir-list mailing list