Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: fix memory leak in new setenv code
- X-seq: zsh-workers 24116
- From: Geoff Wing <gcw@xxxxxxx>
- To: Zsh Hackers <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: fix memory leak in new setenv code
- Date: Fri, 23 Nov 2007 11:00:56 +1100
- In-reply-to: <071121234047.ZM6264@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultancy
- References: <20071122025711.GA4745@xxxxxxxxxxxxxxx> <071121234047.ZM6264@xxxxxxxxxxxxxxxxxxxxxx>
On Thursday 2007-11-22 18:41 +1100, Bart Schaefer output:
:On Nov 22, 1:57pm, Geoff Wing wrote:
[...]
: the memory in pm->env is not shared with the global environ [the
:latter instead being left unchanged in that loop in createparamtable()
:and thereafter mananged only by setenv()/unsetenv()].
OK, I guess that addresses my concern there.
:So the patch below is at best incomplete. Try it with Oliver's
:patch still in place and see if it resolves your corruption problem.
Thanks, it does.
Regards,
Geoff
Messages sorted by:
Reverse Date,
Date,
Thread,
Author