mirror of
https://github.com/Intervention/image.git
synced 2025-08-29 16:50:07 +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);
|
return $image->setEncoded($this->result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user