aboutsummaryrefslogtreecommitdiff
path: root/lib/resize.php
diff options
context:
space:
mode:
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;
}