-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<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