Re: small memory leaks in localtime

2015-09-07 Thread Ted Unangst
David CARLIER wrote: > Hi all, > > Both internal state variables, lclptr and gmtptr are allocated once but > never freed so I was wondering if this little diff which avoids the > unnecessary dynamic allocations would have any use ? Looks about right. There's little cause to optimize for static sp

small memory leaks in localtime

2015-09-07 Thread David CARLIER
Hi all, Both internal state variables, lclptr and gmtptr are allocated once but never freed so I was wondering if this little diff which avoids the unnecessary dynamic allocations would have any use ? Thanks in advance. Regards. Index: localtime.c