Problem with Image_Transform

From: Date: Thu, 10 Jun 2004 13:57:05 +0000
Subject: Problem with Image_Transform
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30388@lists.php.net to get a copy of this message
On pear-general Ralf Eggert recently reported that there is some "weird" code in the GD-driver of Image_Transform. In the free- function the resource is "copied", the image is freed and afterwards the copy is tried to be freed again, which fails? Pierre, since you're currently not available via private mail afaik, hope you read this and give us an insight of what those lines of code were developed for? 265 function free() 266 { 267 $this->imageHandle = $this->old_image; 268 $this->resized = false; 269 ImageDestroy($this->old_image); 270 if ($this->imageHandle){ 271 ImageDestroy($this->imageHandle); 272 } 273 } Kind regards, Stefan

« previous php.pear.dev (#30388) next »