Jacek Caban : mshtml: Don't free nsstr in HTMLFormElement_get_dispid twice.

Alexandre Julliard julliard at winehq.org
Tue Feb 9 10:37:55 CST 2010


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Feb  8 21:49:11 2010 +0100

mshtml: Don't free nsstr in HTMLFormElement_get_dispid twice.

---

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

diff --git a/dlls/mshtml/htmlform.c b/dlls/mshtml/htmlform.c
index 05486f4..6886056 100644
--- a/dlls/mshtml/htmlform.c
+++ b/dlls/mshtml/htmlform.c
@@ -414,7 +414,6 @@ static HRESULT HTMLFormElement_get_dispid(HTMLDOMNode *iface,
             hres = S_OK;
             break;
         }
-        nsAString_Finish(&nsstr);
     }
     nsAString_Finish(&nsname);
     nsAString_Finish(&nsstr);




More information about the wine-cvs mailing list