Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1511

Leak reported by coverity static analysis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.9.0
    • 1.11.0
    • Management Agent
    • None

    Description

      connection_manager.c:

      {{410 else if (actual_pass)

      { 411 free(config->sasl_password); 412 config->sasl_password = actual_pass; 413 }

      CID 350027 (#1 of 1): Resource leak (RESOURCE_LEAK)38. leaked_storage: Variable actual_pass going out of scope leaks the storage it points to.
      414 }}}

      {{600 }
      601 else if (actual_pass)

      { 602 free(ssl_profile->ssl_password); 603 ssl_profile->ssl_password = actual_pass; 604 }

      CID 349805 (#1 of 1): Resource leak (RESOURCE_LEAK)19. leaked_storage: Variable actual_pass going out of scope leaks the storage it points to.
      605 }}}

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: