Re: Update to memory growth problems with Event.pm

[email protected] (Nick Ing-Simmons) Tue, 21 May 2002 16:26:30 +0100
Newsgroups perl.loop
Message-ID <[email protected]>
Joshua N Pritikin <[email protected]> writes:
>On Tue, May 14, 2002 at 10:04:51AM +0100, Nick Ing-Simmons wrote:
>> >In Event.xs, I change _loop() to:
>> >
>> >    PROTOTYPE: ;$
>> >    CODE:
>> >    double maxtm = 60;
>> >    if (items == 1) maxtm = SvNV(ST(0));
>> 
>> What frees the maxtm SV ?
>
>Huh?  maxtm is a double.  ST(0) is on the stack.  As far as i know,
>stack arguments are freed when the function returns.  Am i missing
>something?

My mistake.

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/