| commit | 0b0c75ed19b13cea00d763b2ea0fb7bbbc1a0828 | [log] [tgz] |
|---|---|---|
| author | Rob Shearman <rob@codeweavers.com> | Thu Dec 27 13:50:35 2007 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Thu Dec 27 15:12:07 2007 +0100 |
| tree | f79629efd32871626279c2897ca5ed714363c96b | |
| parent | cc405b1522748c15696313efe2dfd9fa78e5719c [diff] [blame] |
server: Initialise the apc_call_t union in async_set_result to all zero to avoid a Valgrind warning.
diff --git a/server/async.c b/server/async.c index baed133..879616d 100644 --- a/server/async.c +++ b/server/async.c
@@ -263,6 +263,7 @@ 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;