]> git.proxmox.com Git - mirror_qemu.git/commit
gqa-win: get_pci_info: Free parent_dev_info properly
authorKostiantyn Kostiuk <konstantin@daynix.com>
Tue, 3 Aug 2021 10:26:14 +0000 (10:26 +0000)
committerKostiantyn Kostiuk <konstantin@daynix.com>
Mon, 10 Jan 2022 13:04:34 +0000 (13:04 +0000)
commitc49ca88b5586cf17d8f9597aaab46e181a7fc797
treecf3cd99a932c51eaebdec228af5705731d4cbcc8
parente78ca586d66e0d2001a6caef90bf7361f3ef3ad1
gqa-win: get_pci_info: Free parent_dev_info properly

In case when the function fails to get parent device data,
the parent_dev_info variable will be initialized, but not freed.

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
qga/commands-win32.c