[libvirt] [PATCH 2/3] conf: Add several cleanup paths

Pavel Hrdina phrdina at redhat.com
Fri Nov 16 18:33:34 UTC 2018


On Fri, Nov 16, 2018 at 05:21:30PM +0100, Andrea Bolognani wrote:
> In many cases, an early exit from a function would cause
> memory allocated by local virBuffer instances not to be
> released.
> 
> Provide proper cleanup paths to solve the issue.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  src/conf/domain_conf.c | 137 ++++++++++++++++++++++++++++++-----------
>  1 file changed, 100 insertions(+), 37 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- 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/20181116/c155ec1d/attachment-0001.sig>


More information about the libvir-list mailing list