André Hentschel : wininet: Fix WININET_SetAuthorization on error path (coverity).
Module: wine Branch: master Commit: 5010f0933e496bb367fe2b1414fb000a46bd83d1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5010f0933e496bb367fe2b1414... Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Oct 30 20:07:25 2012 +0100 wininet: Fix WININET_SetAuthorization on error path (coverity). --- dlls/wininet/dialogs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/wininet/dialogs.c b/dlls/wininet/dialogs.c index a3235a4..418610d 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; }
participants (1)
-
Alexandre Julliard