Author: lupus
Date: 2007-10-11 12:07:10 -0400 (Thu, 11 Oct 2007)
New Revision: 87340
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/marshal.c
Log:
Thu Oct 11 18:22:31 CEST 2007 Paolo Molaro <[EMAIL PROTECTED]>
* marshal.c: make sure the wrapper methods are properly initialized.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2007-10-11 16:04:56 UTC (rev 87339)
+++ trunk/mono/mono/metadata/ChangeLog 2007-10-11 16:07:10 UTC (rev 87340)
@@ -1,3 +1,8 @@
+
+Thu Oct 11 18:22:31 CEST 2007 Paolo Molaro <[EMAIL PROTECTED]>
+
+ * marshal.c: make sure the wrapper methods are properly initialized.
+
2007-10-11 Mark Probst <[EMAIL PROTECTED]>
* metadata.c, metadata-internals.h: Generalized
Modified: trunk/mono/mono/metadata/marshal.c
===================================================================
--- trunk/mono/mono/metadata/marshal.c 2007-10-11 16:04:56 UTC (rev 87339)
+++ trunk/mono/mono/metadata/marshal.c 2007-10-11 16:07:10 UTC (rev 87340)
@@ -1311,7 +1311,7 @@
} else {
/* Realloc the method info into a mempool */
- method = mono_mempool_alloc (mp, sizeof (MonoMethodWrapper));
+ method = mono_mempool_alloc0 (mp, sizeof (MonoMethodWrapper));
memcpy (method, mb->method, sizeof (MonoMethodWrapper));
if (mb->no_dup_name)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches