server: Initialise the apc_call_t union in async_set_result to all zero to avoid a Valgrind warning.

This commit is contained in:
Rob Shearman 2007-12-27 13:50:35 +00:00 committed by Alexandre Julliard
parent cc405b1522
commit 0b0c75ed19

View File

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