diff --git a/dlls/wininet/dialogs.c b/dlls/wininet/dialogs.c index a3235a47260..418610d696e 100644 --- a/dlls/wininet/dialogs.c +++ b/dlls/wininet/dialogs.c @@ -188,7 +188,7 @@ static BOOL WININET_SetAuthorization( http_request_t *request, LPWSTR username, q = heap_strdupW(password); if( !q ) { - heap_free(username); + heap_free(p); return FALSE; }