[PATCH] Fix memory leak
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Mon Dec 10 23:06:00 CST 2007
---
dlls/msxml3/tests/domdoc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msxml3/tests/domdoc.c b/dlls/msxml3/tests/domdoc.c
index d7afb19..41208f2 100644
--- a/dlls/msxml3/tests/domdoc.c
+++ b/dlls/msxml3/tests/domdoc.c
@@ -575,7 +575,7 @@ static void test_domnode( void )
ok ( r == E_INVALIDARG, "get_nodeName (NULL) wrong code\n");
/* content doesn't matter here */
- str = SysAllocString( szNonExistentFile );
+ str = NULL;
r = IXMLDOMElement_get_nodeName( element, &str );
ok ( r == S_OK, "get_nodeName wrong code\n");
ok ( str != NULL, "str is null\n");
--
1.5.3.3
--------------090004090501030003030508--
More information about the wine-patches
mailing list