Jacek Caban : mshtml: Fixed leak in get_nsstyle_pos.
Alexandre Julliard
julliard at winehq.org
Mon Jan 7 13:42:22 CST 2013
Module: wine
Branch: master
Commit: 64df55eb8489333c3e0b710e4617fedeedfc391c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=64df55eb8489333c3e0b710e4617fedeedfc391c
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jan 7 14:33:25 2013 +0100
mshtml: Fixed leak in get_nsstyle_pos.
---
dlls/mshtml/htmlstyle.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c
index efa3d5b..2cf252d 100644
--- a/dlls/mshtml/htmlstyle.c
+++ b/dlls/mshtml/htmlstyle.c
@@ -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;
}
More information about the wine-cvs
mailing list