[Mono-bugs] [Bug 375222] DllImported function with string return crashes Mono
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Mar 30 05:10:44 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=375222
User vargaz at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=375222#c1
Zoltan Varga <vargaz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vargaz at gmail.com
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2008-03-30 03:10:44 MST ---
This is not a bug. The runtime has no way to determine whenever the returned
string is dynamically allocated or not, so it allways tries to free it. If
we didn't free it, and the function returned a dynamically allocated string,
there would be a memory leak.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list