userenv/tests: Fix a memory leak (valgrind).

This commit is contained in:
Bruno Jesus 2014-05-29 23:16:09 -03:00 committed by Alexandre Julliard
parent 2728066152
commit 55f8233390
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ static void test_create_env(void)
r = get_env(env[i], "SystemRoot", &st);
ok(!strcmp(st, "SystemRoot=overwrite"), "%s\n", st);
expect(TRUE, r);
HeapFree(GetProcessHeap(), 0, st);
}
/* Test for common environment variables (NT4 and higher) */