diff options
author | Jan Dubois <jand@activestate.com> | 1998-06-11 22:28:36 +0200 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-12 07:21:29 +0000 |
commit | 7614df0c0f0d0458f8f9c442cd557e6387b4e40d (patch) | |
tree | 0204adf5e339ef4cedeea4d74755a93a0d866e6a /perl.c | |
parent | 98b8ca77004b7e8368865d4af1f1ec8d6a876c8c (diff) | |
download | perl-7614df0c0f0d0458f8f9c442cd557e6387b4e40d.tar.gz |
added patch, undo earlier workaround
Subject: Re: Why does saferealloc(NULL,size) croak? [PATCH] against _66
Message-ID: <35831f69.4975644@smtp1.ibm.net>
p4raw-id: //depot/perl@1125
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -604,10 +604,7 @@ CPerlObj::perl_atexit(void (*fn) (CPerlObj*,void *), void *ptr) perl_atexit(void (*fn) (void *), void *ptr) #endif { - if(exitlist) - Renew(exitlist, exitlistlen+1, PerlExitListEntry); - else - New(999, exitlist, 1, PerlExitListEntry); + Renew(exitlist, exitlistlen+1, PerlExitListEntry); exitlist[exitlistlen].fn = fn; exitlist[exitlistlen].ptr = ptr; ++exitlistlen; |