From 48db05b1f61fa78a7dd426729ae7d3bb099ddb8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20=C4=8Cepas?= Date: Wed, 18 Dec 2024 12:30:13 -0500 Subject: [PATCH] fix_50486 - memory leak --- Transport/SendmailTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Transport/SendmailTransport.php b/Transport/SendmailTransport.php index 3add460..774c0e5 100644 --- a/Transport/SendmailTransport.php +++ b/Transport/SendmailTransport.php @@ -114,7 +114,7 @@ protected function doSend(SentMessage $message): void $this->stream->setCommand($command); $this->stream->initialize(); foreach ($chunks as $chunk) { - $this->stream->write($chunk); + $this->stream->write($chunk, false); } $this->stream->flush(); $this->stream->terminate();