Commit eaffc0a0 authored by Dan Hipschman's avatar Dan Hipschman Committed by Alexandre Julliard

rpcrt4/tests: Initialize memory in the get_name test.

This initializes the memory for an [in] parameter.
parent 0d016254
......@@ -857,7 +857,7 @@ pointer_tests(void)
free_list(list);
name.size = 10;
name.name = buffer = HeapAlloc(GetProcessHeap(), 0, name.size);
name.name = buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, name.size);
get_name(&name);
todo_wine
ok(name.name == buffer, "[in,out] pointer should have stayed as %p but instead changed to %p\n", name.name, buffer);
......
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