Re: Changing font colors on the fly == memory leak!

From: Date: Wed, 04 Jan 2006 01:48:19 +0000
Subject: Re: Changing font colors on the fly == memory leak!
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6503@lists.php.net to get a copy of this message
On Tue, 3 Jan 2006, Andrei Zmievski wrote: > On Jan 3, 2006, at 5:05 PM, Brian A. Stumm wrote: > > > > $green=&new gdkcolor('darkgreen'); > > $yellow=&new gdkcolor('darkgoldenrod'); > > 8<----snip---- > > > Are you using PHP-GTK 2/PHP 5.1? If so, you shouldn't use &new -- do > simple 'new' instead. I should have mentioned long ago that I'm using versions php-gtk 1.0.2 and php 4.4.1 for linux and the 1.0.2 win installer deal. This app (along with an ANSI C backend companion) have been in development for around 6 months now.

« previous php.gtk.general (#6503) next »