Forráskód Böngészése

Update Image util

Daniel Supernault 6 éve
szülő
commit
3d53661b18
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;
             }