Explorar el Código

Update Image util

Daniel Supernault hace 6 años
padre
commit
3d53661b18
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
             }