ntdll/tests: Fix a memory leak (Valgrind).
This commit is contained in:
parent
7265e89226
commit
fa2ec0f06c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue