PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Images » Image_Transform » Bug #432

Imagick2.php generates warning imagick_free line 189

Details

Submitted2003-12-15 22:08 UTC
Fromrob at fireswamp dot biz
Assignedreywob
StatusClosed
PackageImage_Transform
PHP Version4.3.4
OSRedhat 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!