7 Nov
2022
7 Nov
'22
5:33 p.m.
Jacek Caban (@jacek) commented about dlls/mshtml/htmlstorage.c:
BSTR hostname = NULL; HRESULT hres = S_OK;
+ ctx.url = NULL; if(!window) goto done; - get_top_window(window->base.outer_window, &top_window); + if(window->base.outer_window->uri_nofrag) { + hres = IUri_GetDisplayUri(window->base.outer_window->uri_nofrag, &ctx.url);
ctx.url is leaked. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1206#note_13440