Commit 64df55eb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed leak in get_nsstyle_pos.

parent 0f60681a
......@@ -637,7 +637,7 @@ static HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
{
nsAString_Finish(&str_value);
FIXME("only px values are currently supported\n");
return E_FAIL;
hres = E_FAIL;
}
}
}
......@@ -645,7 +645,6 @@ static HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
TRACE("ret %f\n", *p);
nsAString_Finish(&str_value);
return hres;
}
......
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