Home » Images » Image_Transform » Bug #432
Imagick2.php generates warning imagick_free line 189
Details
| Submitted | 2003-12-15 22:08 UTC |
|---|---|
| From | rob at fireswamp dot biz |
| Assigned | reywob |
| Status | Closed |
| Package | Image_Transform |
| PHP Version | 4.3.4 |
| OS | Redhat 8 |
| Roadmaps | (Not assigned) |
Comments
[2003-12-15 22:08 UTC] rob at fireswamp dot biz
Description:
------------
I'm guessing that Imagick2.php is fairly new...
I found a bug, I think.
Here is the error:
imagick_free() expects parameter 1 to be resource, null given in /usr/local/php_01/lib/php/Image/Transform/Driver/Imagick2.php on line 189
I changed my file so that line 189 looks like this:
imagick_free($this->imageHandle);
Regards
[2003-12-15 22:28 UTC] reywob at php dot net
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.
Thanks for reporting!