wininet: Free the mem unconditionally to prevent a potential leak (Smatch).
This commit is contained in:
parent
c848e4ee86
commit
b8a087d6a8
|
@ -1397,8 +1397,8 @@ HINTERNET FTP_FtpOpenFileW(ftp_session_t *lpwfs,
|
|||
HeapFree(GetProcessHeap(), 0, lpwh->cache_file);
|
||||
lpwh->cache_file = NULL;
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, url);
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, url);
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, uc.lpszUrlPath);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue