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

Merge pull request #492 from olivervogel/master

fixed Image::encode() leaks memory
This commit is contained in:
Oliver Vogel
2016-01-02 20:15:13 +01:00

View File

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