<syncstream>: fix std::osyncstream memory leak#2763
Conversation
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>It worked OK with |
|
I pushed significant test changes, verifying them in three ways:
|
|
I pushed a product code change for tidying consistently - the tests pass, and I'm reasonably confident it's correct, but lower confidence than usual since iostreams is my magical weak point. Please double check! 😸 |
|
Thanks! |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
|
Thanks for finding the source of this memory leak and fixing it! 💧 🔧 😻 |
Co-authored-by: Stephan T. Lavavej <[email protected]>
Fixes #2760