79496332

Date: 2025-03-09 17:50:03
Score: 1.5
Natty:
Report link

After basically removing all possible chunks of code from our implementation - it turned out that we had a (stupid) wrapper class that wraps MFCLeakReport class.

In it, there were calls to _CrtSetReportHook. Removing these calls completely solved the issue. As for why this was there for my company, or how to implement it correctly is irrelevant for the solution - but if anyone ever encounters similar behavior - try looking for MFC hooks.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alonbs