Ver Fonte

Update Image util

Daniel Supernault há 6 anos atrás
pai
commit
3d53661b18
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Util/Media/Image.php

+ 1 - 1
app/Util/Media/Image.php

@@ -131,7 +131,7 @@ class Image
 
             $quality = config('pixelfed.image_quality');
             $img->save($newPath, $quality);
-
+            $img->destroy();
             if (!$thumbnail) {
                 $media->orientation = $orientation;
             }