Skip to content

Commit

Permalink
fix_50486 - memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
rch7 committed Dec 18, 2024
1 parent c2f7e0d commit 48db05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transport/SendmailTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 48db05b

Please sign in to comment.