mshtml: Fixed leak in get_nsstyle_pos.

This commit is contained in:
Jacek Caban 2013-01-07 14:33:25 +01:00 committed by Alexandre Julliard
parent 0f60681a5a
commit 64df55eb84

View File

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