Alexandre Julliard : ntdll/tests: Don't free a string that wasn't allocated .

Alexandre Julliard julliard at winehq.org
Wed Mar 31 10:04:52 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Mar 31 14:20:19 2010 +0200

ntdll/tests: Don't free a string that wasn't allocated.

---

 dlls/ntdll/tests/file.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index 3d28d80..7540d78 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -247,7 +247,6 @@ static void create_file_test(void)
     todo_wine
     ok( status == STATUS_INVALID_PARAMETER,
         "open %s failed %x\n", wine_dbgstr_w(nameW.Buffer), status );
-    pRtlFreeUnicodeString( &nameW );
 }
 
 static void open_file_test(void)




More information about the wine-cvs mailing list