[Mono-bugs] [Bug 527902] Setting Thread.CurrentUICulture causes memory leak

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 4 06:05:25 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=527902

User a.buriak at it-territory.ru added comment
http://bugzilla.novell.com/show_bug.cgi?id=527902#c1





--- Comment #1 from Alexander Buryak <a.buriak at it-territory.ru>  2009-08-04 04:05:24 MDT ---
You can also use next patch to fix the problem:

Index: threads.c
===================================================================
--- threads.c    (revision 139325)
+++ threads.c    (working copy)
@@ -545,6 +545,9 @@
     if (thread->serialized_culture_info)
         g_free (thread->serialized_culture_info);

+    if (thread->serialized_ui_culture_info)
+        g_free (thread->serialized_ui_culture_info);
+
     g_free (thread->name);

     thread->cached_culture_info = NULL;

-- 
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.


More information about the mono-bugs mailing list