From c74e2a3d7e1df817b2bea7d8f6a8fc3373c445bb 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 --- src/Symfony/Component/Mailer/Transport/SendmailTransport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Mailer/Transport/SendmailTransport.php b/src/Symfony/Component/Mailer/Transport/SendmailTransport.php index 3add460ebcf89..774c0e5631a13 100644 --- a/src/Symfony/Component/Mailer/Transport/SendmailTransport.php +++ b/src/Symfony/Component/Mailer/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();