mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[MSGINA]
Don't leak memory CID 1206901 svn path=/trunk/; revision=69667
This commit is contained in:
@@ -1306,7 +1306,10 @@ DoUnlock(
|
||||
BOOL res = FALSE;
|
||||
|
||||
if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && *UserName == '\0')
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, UserName);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user