mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
[DEVMGR]
* Plug a leak. CID 1105932. CORE-7975 svn path=/trunk/; revision=65406
This commit is contained in:
parent
45c3c5fa2b
commit
e2407791fb
1 changed files with 1 additions and 0 deletions
|
@ -1065,6 +1065,7 @@ DeviceCreateHardwarePageEx(IN HWND hWndParent,
|
||||||
(LPARAM)hpd);
|
(LPARAM)hpd);
|
||||||
if (hWnd != NULL)
|
if (hWnd != NULL)
|
||||||
{
|
{
|
||||||
|
HeapFree(GetProcessHeap(), 0, hpd);
|
||||||
return hWnd;
|
return hWnd;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue