On Thu, Nov 18, 1999 at 01:08:34AM +0100, Joerg Schumacher wrote: > > How can it be that this is unallocated? > > Since it has never been malloc()ed by perl due to the weak test in > my_setenv()? > > > Judging by what you wrote, you are running some old version of Perl, > > such as 5.005_03. > > This is the stable version, can't be that old? > > > In 5.005_50 I can see that the only Safefree() is > > done on environ[i]. Due to documentation of putenv() I can see, > > environ[i] *should be* malloced. > > But the free() is called with the pointer to a memory block which has > never been malloc()'ed by perl. You look utterly confused. First you claim that this is not a problem with several mismatched malloc()s, now you say that it is. Please decide which way you want to argue first. All you write confirms what we were explaining you several times: your Perl is using Perl's malloc(), and your patch has no relationship to how things happen. Ilya