mshtml: Free buffer for empty strings too (PVS-Studio).
This commit is contained in:
parent
44677f2f78
commit
2ee84d5ae2
|
@ -375,7 +375,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
|
||||||
(void**)&uihandler2);
|
(void**)&uihandler2);
|
||||||
if(SUCCEEDED(hres)) {
|
if(SUCCEEDED(hres)) {
|
||||||
hres = IDocHostUIHandler2_GetOverrideKeyPath(uihandler2, &override_key_path, 0);
|
hres = IDocHostUIHandler2_GetOverrideKeyPath(uihandler2, &override_key_path, 0);
|
||||||
if(hres == S_OK && override_key_path && override_key_path[0]) {
|
if(hres == S_OK && override_key_path) {
|
||||||
if(override_key_path[0]) {
|
if(override_key_path[0]) {
|
||||||
/*FIXME: use override_key_path */
|
/*FIXME: use override_key_path */
|
||||||
FIXME("override_key_path = %s\n", debugstr_w(override_key_path));
|
FIXME("override_key_path = %s\n", debugstr_w(override_key_path));
|
||||||
|
|
Loading…
Reference in New Issue