diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-21 12:07:38 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-21 12:07:38 +0000 |
commit | cbacd1dc4c9debebf79a44c4a70747cb7baec207 (patch) | |
tree | 7fc68a39e3973e836617e125ba414204800f6d11 /lib/resize.php | |
parent | 9b44d58f4836a1e7c02a01ac249b25a9e0d75cb1 (diff) | |
download | elgg-cbacd1dc4c9debebf79a44c4a70747cb7baec207.tar.gz elgg-cbacd1dc4c9debebf79a44c4a70747cb7baec207.tar.bz2 |
final tweaks of gd upload code
Diffstat (limited to 'lib/resize.php')
-rw-r--r-- | lib/resize.php | 3 |
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;
}
|