C++ Leaking on Windows

35 views
Skip to first unread message

James Inkster

unread,
Jan 10, 2022, 7:09:03 PM (10 days ago) Jan 10
to discuss-webrtc
We've been seeing leaks via CRT debugging in our application (which uses M95, same results with M97 tho).

We've reproduced them with the peerconnection_client example, which seemingly proves the leaks are coming from the library and not our own code.

This can be seen by:
1. apply the attached patch (CRT flags) to the examples code
2. build in debug
3. run the peerconnection_client example (with or without windbg connected)
4. shutdown the example

This should show several leaks.
I've attached the output, and the very small patch.

Any help greatly appreciated!
james
leakdetection.patch
memoryleak.log.txt
Reply all
Reply to author
Forward
0 new messages