Skip to content
Commit 9bd8e933 authored by Li Ping's avatar Li Ping Committed by Michael Tokarev
Browse files

qga-win32: Fix memory leak of device information set



The caller of SetupDiGetClassDevs must delete the returned device information
 set when it is no longer needed by calling SetupDiDestroyDeviceInfoList.

Signed-off-by: default avatarLi Ping <li.ping288@zte.com.cn>
Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 32fb354b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment