[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    [PATCH 6/8] mshtml: Fixed memory leak
From:       Jacek Caban <jacek () codeweavers ! com>
Date:       2011-02-28 12:13:59
Message-ID: 4D6B9187.1000407 () codeweavers ! com
[Download RAW message or body]

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



["0006-mshtml-Fixed-memory-leak.diff" (text/x-patch)]

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;
 }
 





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic