At least it puts a bound on the leak. There can be at most one string leaked per variable set.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-10-17 16:56: Subject: Re: putenv/getenv
That doesn't work if there is other C code that use putenv(3) directly. But it would still help bringing down the leaking quite a bit.
/ Martin Stjernholm, Roxen IS