Gabriel Ivăncescu (@insn) commented about dlls/urlmon/bindprot.c:
return hres; }
- if (This->protocol_unk && IUnknown_QueryInterface(This->protocol_unk, &IID_IWinInetHttpInfo, (void **)&http_info) == S_OK) {
DWORD status_code = 0, size = sizeof(DWORD);
hres = IWinInetHttpInfo_QueryInfo(http_info, HTTP_QUERY_STATUS_CODE | HTTP_QUERY_FLAG_NUMBER,
&status_code, &size, NULL, NULL);
if (hres == S_OK && status_code != HTTP_STATUS_REDIRECT_KEEP_VERB)
This->redirect_override_verb = TRUE;
- }
You are leaking `http_info` here btw.