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

1300 byte memory leak in PiggyBackData on socket exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Client, Networking
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      If there is a socket exception in flush() - for example if the connection is lost - the allocated buffer is not deleted

              ~PiggyBackData() {
                  DESTRUCTOR_GUARD (
                      flush();
                      delete[]( _cur );
                  );
              }

        Attachments

          Activity

            People

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            aaron Aaron Staple
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: