summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
383bf66)
Don't leak memory
CID
1206901
svn path=/trunk/; revision=69667
BOOL res = FALSE;
if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && *UserName == '\0')
BOOL res = FALSE;
if (GetTextboxText(hwndDlg, IDC_USERNAME, &UserName) && *UserName == '\0')
+ {
+ HeapFree(GetProcessHeap(), 0, UserName);
if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
{
if (GetTextboxText(hwndDlg, IDC_PASSWORD, &Password))
{