Commit 2ee84d5a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mshtml: Free buffer for empty strings too (PVS-Studio).

parent 44677f2f
...@@ -375,7 +375,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite ...@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment