http://bugzilla.novell.com/show_bug.cgi?id=527902
Summary: Setting Thread.CurrentUICulture causes memory leak
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: P5 - None
Component: misc
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
SVN revision used: 139316
Steps to reproduce the problem:
1. create thread
2. call createdThread.CurrentUICulture = /* any culture */;
2. join thread
2. check memory leaks
Actual Results:
Memory leak caused by:
/mono/metadata/threads.c:1326 this->serialized_ui_culture_info = g_new0
(guint8, mono_array_length (arr));
Expected Results:
No leaks :)
Additional Information:
To fix the bug add next lines into /mono/metadata/threads.c function
thread_cleanup() (for example at line 547):
if (thread->serialized_ui_culture_info)
g_free (thread->serialized_ui_culture_info);
--
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs