From 9a574cb82413f02eac5f3480cdcc64ffb6ef7b48 Mon Sep 17 00:00:00 2001 From: zoltan Date: Thu, 15 Mar 2007 15:16:06 +0000 Subject: [PATCH] 2007-03-15 Zoltan Varga * exceptions-amd64.c (seh_handler): Ditto. * exceptions-x86.c (seh_handler): Fix a memory leak. git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@74376 e3ebcda4-bce8-0310-ba0a-eca2169e7518 --- mono/mini/ChangeLog | 5 +++++ mono/mini/exceptions-amd64.c | 2 ++ mono/mini/exceptions-x86.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index ef53724bf..a7c39ca19 100644 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,3 +1,8 @@ +2007-03-15 Zoltan Varga + + * exceptions-amd64.c (seh_handler): Ditto. + + * exceptions-x86.c (seh_handler): Fix a memory leak. Thu Mar 15 13:47:59 CET 2007 Paolo Molaro diff --git a/mono/mini/exceptions-amd64.c b/mono/mini/exceptions-amd64.c index 4123acd07..81d408206 100644 --- a/mono/mini/exceptions-amd64.c +++ b/mono/mini/exceptions-amd64.c @@ -95,6 +95,8 @@ LONG CALLBACK seh_handler(EXCEPTION_POINTERS* ep) ctx->Edi = sctx->edi; ctx->Eip = sctx->eip; + g_free (sctx); + return res; } diff --git a/mono/mini/exceptions-x86.c b/mono/mini/exceptions-x86.c index c0cf8886e..9fe10e4cf 100644 --- a/mono/mini/exceptions-x86.c +++ b/mono/mini/exceptions-x86.c @@ -213,6 +213,8 @@ LONG CALLBACK seh_handler(EXCEPTION_POINTERS* ep) ctx->Edi = sctx->edi; ctx->Eip = sctx->eip; + g_free (sctx); + return res; } -- 2.11.4.GIT