jani            Thu Aug 14 20:55:31 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/gd/tests       imageloadfont_invalid.phpt 
  Log:
  do not leave crap behind
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/imageloadfont_invalid.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/gd/tests/imageloadfont_invalid.phpt
diff -u php-src/ext/gd/tests/imageloadfont_invalid.phpt:1.1.4.2 
php-src/ext/gd/tests/imageloadfont_invalid.phpt:1.1.4.3
--- php-src/ext/gd/tests/imageloadfont_invalid.phpt:1.1.4.2     Thu Jul 17 
22:58:23 2008
+++ php-src/ext/gd/tests/imageloadfont_invalid.phpt     Thu Aug 14 20:55:31 2008
@@ -17,6 +17,7 @@
 $font = imageloadfont($filename);
 $black = imagecolorallocate($image, 0, 0, 0);
 imagestring($image, $font, 0, 0, "Hello", $black);
+unlink($filename);
 ?>
 --EXPECTF--
 Warning: imageloadfont(): gd warning: product of memory allocation 
multiplication would exceed INT_MAX, failing operation gracefully



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

Reply via email to