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); ?> ]]>