Commit 8b805e48 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

kernel32/tests: Fix LocalAlloc() allocated leaks.

parent f33db8a0
......@@ -202,6 +202,8 @@ static void test__hwrite( void )
ret = DeleteFileA( filename );
ok( ret != 0, "DeleteFile failed (%d)\n", GetLastError( ) );
LocalFree( contents );
}
......@@ -563,6 +565,8 @@ static void test__lwrite( void )
ret = DeleteFileA( filename );
ok( ret, "DeleteFile failed (%d)\n", GetLastError( ) );
LocalFree( contents );
}
static void test_CopyFileA(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment