Commit 55f82333 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

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

parent 27280661
......@@ -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) */
......
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