From 4629f0317532027f90b394ef51f76df36050f39e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 May 2011 02:21:54 +0000 Subject: *** empty log message *** --- coro.c | 1 + 1 file changed, 1 insertion(+) (limited to 'coro.c') diff --git a/coro.c b/coro.c index cd79d58..79e2ddc 100644 --- a/coro.c +++ b/coro.c @@ -307,6 +307,7 @@ coro_create (coro_context *ctx, coro_func coro, void *arg, void *sptr, long ssiz #endif ctx->sp -= NUM_SAVED; + memset (ctx->sp, 0, sizeof (*ctx->sp) * NUM_SAVED); # elif CORO_UCONTEXT -- cgit v1.2.3