mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:43:13 +00:00
doh, rushed code leads to leaked resources.
thanks lkjasa for pointing it out. svn path=/trunk/; revision=23439
This commit is contained in:
parent
728a261829
commit
7288929ef0
1 changed files with 3 additions and 0 deletions
|
@ -516,5 +516,8 @@ DisplayTCPIPProperties(HWND hParent, IP_ADAPTER_INFO *pInfo)
|
||||||
ShowError(hParent, IDS_CANNOT_CREATE_PROPSHEET);
|
ShowError(hParent, IDS_CANNOT_CREATE_PROPSHEET);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (tpszCaption != NULL)
|
||||||
|
HeapFree(GetProcessHeap(), 0, tpszCaption);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue