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

Coverity analysis defect 72714: Resource leak

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL

    Description

      Leak of memory or pointers to system resources

      Defect 72714 (STATIC_C)
      Checker RESOURCE_LEAK (subcategory none)
      File: /src/mongo/client/remote_command_runner_impl.cpp
      Function mongo::<unnamed>::runDownconvertedFindCommand(mongo::DBClientConnection *, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const mongo::BSONObj &, mongo::BSONObj *)
      /src/mongo/client/remote_command_runner_impl.cpp, line: 109
      Variable "lpqRaw" going out of scope leaks the storage it points to.

                          return status;

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: