Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2503

mismatched new[] and delete (non array version) in repl_block.cpp

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      In repl_block.cpp an Info's loc is allocated using new [] but deallocated using the non array version of delete.

      Reported while running the repl set tests under valgrind.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: