Nikolay Sivov : ntdll: Fix typelib section leak on context release.

Alexandre Julliard julliard at winehq.org
Thu Aug 29 13:18:14 CDT 2013


Module: wine
Branch: master
Commit: a5eb9eee42481accdb4cae6097f29731aace0893
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a5eb9eee42481accdb4cae6097f29731aace0893

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Aug 29 09:50:15 2013 +0400

ntdll: Fix typelib section leak on context release.

---

 dlls/ntdll/actctx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 1ccbf49..1ff1903 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -917,6 +917,7 @@ static void actctx_release( ACTIVATION_CONTEXT *actctx )
         RtlFreeHeap( GetProcessHeap(), 0, actctx->assemblies );
         RtlFreeHeap( GetProcessHeap(), 0, actctx->dllredirect_section );
         RtlFreeHeap( GetProcessHeap(), 0, actctx->wndclass_section );
+        RtlFreeHeap( GetProcessHeap(), 0, actctx->tlib_section );
         actctx->magic = 0;
         RtlFreeHeap( GetProcessHeap(), 0, actctx );
     }




More information about the wine-cvs mailing list