20 Mar
2019
20 Mar
'19
7:52 p.m.
On 3/20/19 8:43 PM, Ken Thomases wrote:
It would be better to not duplicate the locale objects for every thread (and leak them). You can use static variables and one-time initialization. And perhaps share them with the ones in kernel32, perhaps via libwine. There's no leak, it's freed by glibc on thread/process destruction.