ntdll/tests: Fix a memory leak (Valgrind).

This commit is contained in:
Paul Vriens 2009-12-16 16:14:02 +01:00 committed by Alexandre Julliard
parent 7265e89226
commit fa2ec0f06c
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ static void create_file_test(void)
FILE_OVERWRITE_IF, 0, NULL, 0 );
ok( status == STATUS_OBJECT_NAME_COLLISION || status == STATUS_ACCESS_DENIED,
"open %s failed %x\n", wine_dbgstr_w(nameW.Buffer), status );
pRtlFreeUnicodeString( &nameW );
}
static void open_file_test(void)