[Mono-dev] Incorect malloc/g_free mixing in metadata/locales.c
Zoltan Varga
vargaz at gmail.com
Thu Mar 19 13:44:27 EDT 2009
Hi,
This is now fixed in SVN HEAD/2.4 branch.
Zoltan
2009/3/19 Aras Pranckevicius <aras at unity3d.com>:
> Hi,
>
> 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.
>
>
> Regards,
>
> --
> Aras Pranckevičius
> work: http://unity3d.com
> home: http://aras-p.info
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list