[Mono-bugs] [Bug 66238][Blo] Changed - Incorrect returning string to native code from delegate
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 21 Sep 2004 10:36:44 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vargaz@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=66238
--- shadow/66238 2004-09-20 10:09:14.000000000 -0400
+++ shadow/66238.tmp.15017 2004-09-21 10:36:44.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 66238
Product: Mono: Runtime
Version: unspecified
OS: unknown
OS Details: Windows XP
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: 004 Four hours
Priority: Blocker
Component: misc
AssignedTo: vargaz@gmail.com
ReportedBy: ddmk@mail.ru
QAContact: mono-bugs@ximian.com
@@ -57,6 +57,11 @@
The incorrect pointer bug appears after GC.Collect()
------- Additional Comments From vargaz@gmail.com 2004-09-20 10:09 -------
Currently, the runtime allocates string memory using g_malloc from glib,
so it should be freed with g_free.
+
+------- Additional Comments From vargaz@gmail.com 2004-09-21 10:36 -------
+This is fixed in CVS head, now marshalled memory is allocated/freed
+using CoTaskMemAlloc/Free, just as with the MS CLR.
+