Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-115

Phantom memory leaks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Implementation
    • Environment:
      Visual Studio 2010
      x64

      Description

      If _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF) is set mongo will report memory leaks upon exiting the app. First cause seems to be tests = new vector<UnitTest*>(), there are probably more.

      It would be nice to get a clean exit.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: