diff options
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;
}
|