1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 01:00:06 +02:00

fixed Image::encode() leaks memory

This commit is contained in:
Oliver Vogel
2016-01-02 20:10:19 +01:00
parent e5e2b3cfc4
commit ff47a4f8bc

View File

@@ -152,6 +152,8 @@ abstract class AbstractEncoder
);
}
$this->setImage(null);
return $image->setEncoded($this->result);
}