felipe          Wed Jul  1 12:06:27 2009 UTC

  Modified files:              
    /php-src/ext/gd     gd.c 
  Log:
  - Fixed previous fix
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.419&r2=1.420&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.419 php-src/ext/gd/gd.c:1.420
--- php-src/ext/gd/gd.c:1.419   Wed Jul  1 12:04:05 2009
+++ php-src/ext/gd/gd.c Wed Jul  1 12:06:27 2009
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.419 2009/07/01 12:04:05 felipe Exp $ */
+/* $Id: gd.c,v 1.420 2009/07/01 12:06:27 felipe Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -3350,8 +3350,8 @@
        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);



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to