[PATCH] vbox_network: fix possible memory leak in vboxNetworkDefineCreateXML()

Ján Tomko jtomko at redhat.com
Mon Aug 23 14:49:46 UTC 2021

On a Monday in 2021, Kristina Hanicova wrote:
>virNetworkDef was not freed if the function failed in the first
>two ifs, causing a possible memory leak.
>Signed-off-by: Kristina Hanicova <khanicov at redhat.com>
> src/vbox/vbox_network.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

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

More information about the libvir-list mailing list