From cbacd1dc4c9debebf79a44c4a70747cb7baec207 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 21 Jun 2009 12:07:38 +0000 Subject: final tweaks of gd upload code --- lib/resize.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/resize.php b/lib/resize.php index 9db81f318..7c06b28c5 100644 --- a/lib/resize.php +++ b/lib/resize.php @@ -185,6 +185,9 @@ break; } + imagedestroy($newimage); + imagedestroy($oldimage); + return $rtn_code; } -- cgit v1.2.3