Commit fab55e22 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard
Browse files

mshtml: Fix string leak on NamespaceError.

Signed-off-by: Gabriel Ivăncescu's avatarGabriel Ivăncescu <>
parent b8b87e55
......@@ -4857,6 +4857,7 @@ static HRESULT WINAPI HTMLElement6_setAttributeNS(IHTMLElement6 *iface, VARIANT
return hres;
nsAString_GetData(&ns_str, &ns);
if((!ns || !ns[0]) && wcschr(strAttributeName, ':')) {
/* FIXME: Return NamespaceError */
return E_FAIL;
Supports Markdown
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