Author: joncham
Date: 2007-10-18 11:29:44 -0400 (Thu, 18 Oct 2007)
New Revision: 87759
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/marshal.c
Log:
2007-10-18 Jonathan Chambers <[EMAIL PROTECTED]>
* marshal.c: Use correct key when removing item
from ccw_hash.
Code is contributed under MIT/X11 license.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2007-10-18 15:19:34 UTC (rev 87758)
+++ trunk/mono/mono/metadata/ChangeLog 2007-10-18 15:29:44 UTC (rev 87759)
@@ -1,3 +1,10 @@
+2007-10-18 Jonathan Chambers <[EMAIL PROTECTED]>
+
+ * marshal.c: Use correct key when removing item
+ from ccw_hash.
+
+ Code is contributed under MIT/X11 license.
+
2007-10-17 William Holmes <[EMAIL PROTECTED]>
*marshal.c: Adding a case to marshal booleans to U1
Modified: trunk/mono/mono/metadata/marshal.c
===================================================================
--- trunk/mono/mono/metadata/marshal.c 2007-10-18 15:19:34 UTC (rev 87758)
+++ trunk/mono/mono/metadata/marshal.c 2007-10-18 15:29:44 UTC (rev 87759)
@@ -11752,7 +11752,7 @@
/* if list is empty remove original address from hash */
if (g_list_length (ccw_list) == 0)
- g_hash_table_remove (ccw_hash, ccw_list_orig);
+ g_hash_table_remove (ccw_hash, GINT_TO_POINTER
(mono_object_hash (object)));
return TRUE;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches