Re: [PATCH 3/5] gqa-win: get_pci_info: Free parent_dev_info properly

2021-12-13 Thread Marc-André Lureau
On Mon, Dec 13, 2021 at 3:16 PM Kostiantyn Kostiuk wrote: > > 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 > Signed-off-by: Kostiantyn Kostiuk Reviewed-by: Marc-André Lureau

[PATCH 3/5] gqa-win: get_pci_info: Free parent_dev_info properly

2021-12-13 Thread Kostiantyn Kostiuk
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 Signed-off-by: Kostiantyn Kostiuk --- qga/commands-win32.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qga