mirror of
https://github.com/Intervention/image.git
synced 2025-08-28 08:09:54 +02:00
Merge pull request #492 from olivervogel/master
fixed Image::encode() leaks memory
This commit is contained in:
@@ -152,6 +152,8 @@ abstract class AbstractEncoder
|
||||
);
|
||||
}
|
||||
|
||||
$this->setImage(null);
|
||||
|
||||
return $image->setEncoded($this->result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user