mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 23:18:39 +00:00
[MSGINA]
Don't leak memory CID 1206901 svn path=/trunk/; revision=69667
This commit is contained in:
parent
383bf6699a
commit
6f7ec944d5
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue