mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
server: Initialise the apc_call_t union in async_set_result to all zero to avoid a Valgrind warning.
This commit is contained in:
parent
cc405b1522
commit
0b0c75ed19
@ -263,6 +263,7 @@ void async_set_result( struct object *obj, unsigned int status, unsigned long to
|
||||
if (async->data.apc)
|
||||
{
|
||||
apc_call_t data;
|
||||
memset( &data, 0, sizeof(data) );
|
||||
data.type = APC_USER;
|
||||
data.user.func = async->data.apc;
|
||||
data.user.args[0] = (unsigned long)async->data.arg;
|
||||
|
Loading…
Reference in New Issue
Block a user