Re: Update to memory growth problems with Event.pm

[email protected] (Joshua N Pritikin) Tue, 21 May 2002 11:12:46 +0530
Newsgroups perl.loop
Message-ID <[email protected]>
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?

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org