Re: [gtk-list] Xserver leakage?



 if (my $pid = fork()) {
	while () { sleep 1; }
    } else {

that's your problem...  the "my $pid = fork()" bit... when used in the if statement using 'my' Perl will leak memory... try declaring it out of the if statement (BTW inspiration for this comment comes from jgarzik on IRC, don't want to look like a plaigarist :P)

cya,
jon
-- 


Get your free email from http://www.linuxmail.org

powered by OutBlaze



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]