ソースを参照

Update Image util

Daniel Supernault 6 年 前
コミット
3d53661b18
1 ファイル変更1 行追加1 行削除
  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;
             }