[Mono-bugs] [Bug 42316][Nor] Changed - The runtime does not free strings passed to P/Invoked functions
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 6 May 2003 07:49:39 -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 dietmar@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=42316
--- shadow/42316 Mon May 5 19:00:57 2003
+++ shadow/42316.tmp.5674 Tue May 6 07:49:38 2003
@@ -1,12 +1,12 @@
Bug#: 42316
Product: Mono/Runtime
Version: unspecified
OS: All
OS Details:
-Status: NEW
+Status: ASSIGNED
Resolution:
Severity: Unknown
Priority: Normal
Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: bmaurer@users.sf.net
@@ -65,6 +65,10 @@
The Sleep is there to allow memprof to display the leaks. All of them
come from mono_string_to_utf8 allocated strings that are passed to
g_print in this case.
They should be freed.
+
+------- Additional Comments From dietmar@ximian.com 2003-05-06 07:49 -------
+We now free strings passed with pinvoke, but what about strings inside
+structures/classes or arrays?