Jacek Caban : mshtml: Fixed memory leak.

Alexandre Julliard julliard at winehq.org
Mon Feb 28 11:02:12 CST 2011


Module: wine
Branch: master
Commit: 650feb0380fa0fbe76262d3da04eaa44fd229c13
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=650feb0380fa0fbe76262d3da04eaa44fd229c13

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Feb 28 13:13:59 2011 +0100

mshtml: Fixed memory leak.

---

 dlls/mshtml/htmlform.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/htmlform.c b/dlls/mshtml/htmlform.c
index 0f77d28..e53dbc0 100644
--- a/dlls/mshtml/htmlform.c
+++ b/dlls/mshtml/htmlform.c
@@ -174,6 +174,7 @@ static HRESULT WINAPI HTMLFormElement_get_action(IHTMLFormElement *iface, BSTR *
         hres = E_FAIL;
     }
 
+    nsAString_Finish(&action_str);
     return hres;
 }
 




More information about the wine-cvs mailing list