]> git.proxmox.com Git - mirror_qemu.git/commit
pc-bios/s390-ccw/net: fix a possible memory leak in get_uuid()
authorYifan Luo <luoyifan@cmss.chinamobile.com>
Wed, 14 Aug 2019 06:14:26 +0000 (14:14 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 18 Sep 2019 15:47:27 +0000 (17:47 +0200)
commit09be82ce53e8269412544521d449c44305beccf3
tree4c4bc14a6e179d381b34a361cff1b8ac346561c6
parent6673ded76c679ef17097782a13754ba905b917f8
pc-bios/s390-ccw/net: fix a possible memory leak in get_uuid()

There is a possible memory leak in get_uuid(). Should free allocated mem
before
return NULL.

Signed-off-by: Yifan Luo <luoyifan@cmss.chinamobile.com>
Message-Id: <02cf01d55267$86cf2850$946d78f0$@cmss.chinamobile.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/netmain.c