| Submitter | Stefan Hajnoczi |
|---|---|
| Date | Jan. 22, 2011, 9:29 a.m. |
| Message ID | <1295688567-25496-4-git-send-email-stefanha@linux.vnet.ibm.com> |
| Download | mbox | patch |
| Permalink | /patch/79999/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/coroutine_ucontext.c b/coroutine_ucontext.c index 25e8687..f76da94 100644 --- a/coroutine_ucontext.c +++ b/coroutine_ucontext.c @@ -38,6 +38,7 @@ static int _coroutine_release(struct continuation *cc) if (ret < 0) return ret; } + munmap(co->cc.stack, co->cc.stack_size); co->caller = NULL;
Copied from a fix to the original code by Anthony Liguori <aliguori@us.ibm.com>. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> --- coroutine_ucontext.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)