[ntdll] Free memory for type field of an asembly_identity
Roman Mindalev
lists at r000n.net
Wed Mar 11 13:32:42 CDT 2009
Memory for this field was allocated and never freed
---
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 25c590a..f864033 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -338,6 +338,7 @@ static void free_assembly_identity(struct assembly_identity *ai)
RtlFreeHeap( GetProcessHeap(), 0, ai->arch );
RtlFreeHeap( GetProcessHeap(), 0, ai->public_key );
RtlFreeHeap( GetProcessHeap(), 0, ai->language );
+ RtlFreeHeap( GetProcessHeap(), 0, ai->type );
}
static struct entity* add_entity(struct entity_array *array, DWORD kind)
--
1.6.2
--------------030407070501000407050109--
More information about the wine-devel
mailing list