Potential fix for pull request finding 'Missing Dispose call on local IDisposable'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
Stef HeyenrathandCopilot Autofix powered by AI authored and GitHub committed 2026-12-06 09:28:18 +01:00
1 parent ef93f7417d
commit d4541c3a46
1 file changed
+2 -1
@@ -51,7 +51,8 @@ internal class MimeKitUtils : IMimeKitUtils
var fixedBytes = PrependContentTypeHeader(bytes, contentTypeHeader[0]);
mimeMessageData = LoadFromStream(new MemoryStream(fixedBytes));
using var stream = new MemoryStream(fixedBytes);
mimeMessageData = LoadFromStream(stream);
return true;
}