Re: [gtk-list] Xserver leakage?
- From: "j dube" <jdube linuxmail org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Xserver leakage?
- Date: Sat, 20 Nov 1999 04:22:29 +0800
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]