From 81bf815e095d65b25c1ffa8c524cde13b2d6b593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nilg=C3=BCn=20Belma=20Bug=C3=BCner?= Date: Fri, 27 Mar 2009 12:58:09 +0000 Subject: [PATCH] fix example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277871 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagecolormatch.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference/image/functions/imagecolormatch.xml b/reference/image/functions/imagecolormatch.xml index 660125d3a1..bab5c0c4cc 100644 --- a/reference/image/functions/imagecolormatch.xml +++ b/reference/image/functions/imagecolormatch.xml @@ -1,5 +1,5 @@ - + imagecolormatch @@ -68,7 +68,8 @@ $colors[] = imagecolorallocate($im2, 84, 63, 44); imagecolormatch($im1, $im2); // Free from memory -imagedestroy($im); +imagedestroy($im1); +imagedestroy($im2); ?> ]]>