Re: obtaining Image_Transform via cvs
| From: | pear at electroteque dot org | Date: | Mon, 25 Apr 2005 01:48:45 +0000 |
| Subject: | Re: obtaining Image_Transform via cvs | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18938@lists.php.net to get a copy of this message | ||
>
> I keep getting this on the free method of the GD driver for
> Image_Transform, even with CVS, i had to tweak the options variables as
> it was merging the options var of null, so had to make some checks
> here, however the free method is still triggering my php error handler
> until i remove it.
>
> This is the exact error unless i comment out ImageDestroy
>
> Apr 25 11:38:40 ident [warning] imagedestroy(): 42 is not a valid Image
> resource in /usr/local/lib/php/Image/Transform/Driver/GD.php at line
> 449
I worked it out, imagedestroy is been called twice on the same resource, I
made a patch and will make a diff soon.