urlmon: Fix unlikely free of uninitialized pointer.

This commit is contained in:
Dan Kegel 2008-01-13 22:21:41 -08:00 committed by Alexandre Julliard
parent 39f3e15bb4
commit 95fbd7f46b
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ static HRESULT WINAPI HttpProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl
LPWSTR host = 0, path = 0, user = 0, pass = 0, addl_header = 0, LPWSTR host = 0, path = 0, user = 0, pass = 0, addl_header = 0,
post_cookie = 0, optional = 0; post_cookie = 0, optional = 0;
BYTE security_id[512]; BYTE security_id[512];
LPOLESTR user_agent, accept_mimes[257]; LPOLESTR user_agent = NULL, accept_mimes[257];
HRESULT hres; HRESULT hres;
static const WCHAR wszHttp[] = {'h','t','t','p',':'}; static const WCHAR wszHttp[] = {'h','t','t','p',':'};