Alistair Leslie-Hughes : msxml3: Fix memory leak in test.
Alexandre Julliard
julliard at winehq.org
Tue Dec 11 11:37:20 CST 2007
Module: wine
Branch: master
Commit: 93b64766716f2073fa7e87c37a09bffcbaaed4ed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=93b64766716f2073fa7e87c37a09bffcbaaed4ed
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Tue Dec 11 16:06:00 2007 +1100
msxml3: Fix memory leak in test.
---
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");
More information about the wine-cvs
mailing list