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

1300 byte memory leak in PiggyBackData on socket exception

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: