Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 1998 10:08:59 +0200
From:      Mark Huizer <freebsd@xaa.iae.nl>
To:        freebsd-current@FreeBSD.ORG
Subject:   memory leaks in libc
Message-ID:  <19980806100859.A312@xaa.iae.nl>

next in thread | raw e-mail | index | archive | help
Hi, a nice user of ours pointed me to the fact that various functions
like setenv, putenv etc leak memory like crazy. To mention a very
simple example:

main(){while(1){setenv("A","AA",1);setenv("A","A",1);}}

while consume all memory within short periods of time (see setenv.c for 
the reason).

Is this wellknown? I think it is bad, and would like to fix it

Mark
-- 
Nice testing in little China...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980806100859.A312>