aboutsummaryrefslogtreecommitdiff
path: root/lib/resize.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-21 12:07:38 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-21 12:07:38 +0000
commitcbacd1dc4c9debebf79a44c4a70747cb7baec207 (patch)
tree7fc68a39e3973e836617e125ba414204800f6d11 /lib/resize.php
parent9b44d58f4836a1e7c02a01ac249b25a9e0d75cb1 (diff)
downloadelgg-cbacd1dc4c9debebf79a44c4a70747cb7baec207.tar.gz
elgg-cbacd1dc4c9debebf79a44c4a70747cb7baec207.tar.bz2
final tweaks of gd upload code
Diffstat (limited to 'lib/resize.php')
-rw-r--r--lib/resize.php3
1 files changed, 3 insertions, 0 deletions
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;
}