Commit 39d37853 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).

parent 8842cd13
......@@ -1425,11 +1425,8 @@ static HINTERNET FTP_FtpOpenFileW(ftp_session_t *lpwfs,
}
}
if(!bSuccess) {
if(lpwh)
WININET_Release( &lpwh->hdr );
if(!bSuccess)
return FALSE;
}
return lpwh->hdr.hInternet;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment