mshtml: Fixed leak in get_nsstyle_pos.
This commit is contained in:
parent
0f60681a5a
commit
64df55eb84
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user