rpcrt4/tests: Initialize memory in the get_name test.

This initializes the memory for an [in] parameter.
This commit is contained in:
Dan Hipschman 2007-11-02 15:21:51 -07:00 committed by Alexandre Julliard
parent 0d016254a0
commit eaffc0a0da
1 changed files with 1 additions and 1 deletions

View File

@ -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);