mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 20:34:59 +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;
|
BOOL res = FALSE;
|
||||||
|
|
||||||
if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && *UserName == '\0')
|
if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && *UserName == '\0')
|
||||||
|
{
|
||||||
|
HeapFree(GetProcessHeap(), 0, UserName);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
|
if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue