summaryrefslogtreecommitdiff
path: root/ext/gd
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2008-07-25 09:10:02 +0000
committerJani Taskinen <jani@php.net>2008-07-25 09:10:02 +0000
commita1981bf2d836359fda9cac2394c695a3f61e7fac (patch)
treecef5a70c2e24070a3fc20bce58ca119f4a991d4c /ext/gd
parent013059c247185935ca7921533740e767e2630311 (diff)
downloadphp-git-a1981bf2d836359fda9cac2394c695a3f61e7fac.tar.gz
- Cleanup after test
Diffstat (limited to 'ext/gd')
-rw-r--r--ext/gd/tests/imageloadfont_invalid.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/tests/imageloadfont_invalid.phpt b/ext/gd/tests/imageloadfont_invalid.phpt
index b297ac73e2..07bf150ac8 100644
--- a/ext/gd/tests/imageloadfont_invalid.phpt
+++ b/ext/gd/tests/imageloadfont_invalid.phpt
@@ -17,6 +17,7 @@ $image = imagecreatetruecolor(50, 20);
$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