Rob Shearman : mshtml: Fix a memory leak in the htmldoc tests.
Alexandre Julliard
julliard at winehq.org
Fri Dec 7 11:02:01 CST 2007
Module: wine
Branch: master
Commit: cf48f090f1aded774846952bb87dfba6036d10ad
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf48f090f1aded774846952bb87dfba6036d10ad
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Dec 7 14:14:15 2007 +0000
mshtml: Fix a memory leak in the htmldoc tests.
---
dlls/mshtml/tests/htmldoc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index ccfe05e..6c662c0 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -2424,6 +2424,7 @@ static void _test_readyState(unsigned line, IUnknown *unk)
ok_(__FILE__, line)
(!lstrcmpW(state, expected_state[load_state]), "unexpected state \"%s\", expected %d\n",
debugstr_w(state), load_state);
+ SysFreeString(state);
IHTMLDocument_Release(htmldoc);
}
More information about the wine-cvs
mailing list