[Mono-dev] Incorect malloc/g_free mixing in metadata/locales.c
vargaz at gmail.com
Thu Mar 19 13:44:27 EDT 2009
This is now fixed in SVN HEAD/2.4 branch.
2009/3/19 Aras Pranckevicius <aras at unity3d.com>:
> mono/metadata/locales.c incorrectly mixes malloc and g_free, which
> causes problems for certain locales (the ones that have "." or "@" in
> their names) if malloc does not do the same as g_malloc. Like in our
> (Unity) use case on some platforms.
> I just checked anonsvn of latest mono trunk, and the problem still
> seems to be there.
> mono/metadata/locales.c, lines 391 and 410: malloc should be changed
> to g_malloc.
> Aras Pranckevičius
> work: http://unity3d.com
> home: http://aras-p.info
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list