]> granicus.if.org Git - php/commitdiff
- Fixed previous fix
authorFelipe Pena <felipe@php.net>
Wed, 1 Jul 2009 12:06:27 +0000 (12:06 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 1 Jul 2009 12:06:27 +0000 (12:06 +0000)
ext/gd/gd.c

index e15bb529be8d22d7bede07d48d0c687d0a30b551..ee6a5ca71b0953e03b5001af44e108131ee61d2b 100644 (file)
@@ -3350,8 +3350,8 @@ static void php_imagechar(INTERNAL_FUNCTION_PARAMETERS, int mode)
        if (!ZEND_FETCH_RESOURCE_NO_RETURN(im, gdImagePtr, &IM, -1, "Image", le_gd)) {
                if (str_type == IS_UNICODE) {
                        efree(str.s);
-                       RETURN_FALSE;
                }
+               RETURN_FALSE;
        }
 
        font = php_find_gd_font(size TSRMLS_CC);