Re: memory leak in getprotobyname()
--On 12/02/03 13:15:21 +0000 firstname.lastname@example.org wrote:
the following small C program leaks memory both on libc6 2.2.5-11.5
(woody) and libc6 2.3.2-ds1-10 (debian unstable) (these are debian
linux package version numbers).
I cannot reproduce this with:
After running for 5 minutes, the program still requires a constant VSZ
of 1280k. Are you using nscd perhaps?
NIS, but no nscd; kernel 2.4.20 SMP; gcc 2.95.4-14. Anything else that
might cause it? I don't think we did any changes to /etc/procotols.
setprotoent(1) has no effect.
Now it gets weird: Upon receiving Wolframs email, I checked on another box
with Debian stable (No NIS, kernel 2.4.23) and libc6 2.2.5-11.5 and it does
not show the bug.
What else might cause this?