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

Leak of qd_connector_t (coverity)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16.1
    • 1.17.0
    • Router Node
    • None

    Description

      /home/kgiusti/work/dispatch/qpid-dispatch/src/server.c: 1358 in try_open_cb()
      1352             // else deleted or failed - on failed wait until after connection is freed
      1353             // and state is set to CXTR_STATE_CONNECTING (timer is rescheduled then)
      1354             try_open_lh(ct, ctx);
      1355         }
      1356     
      1357         sys_mutex_unlock(ct->lock);
      >>>     CID 372106:  Resource leaks  (RESOURCE_LEAK)
      >>>     Variable "ctx" going out of scope leaks the storage it points to.
      1358     }
      1359     
      1360     
      1361     qd_server_t *qd_server(qd_dispatch_t *qd, int thread_count, const char *container_name,
      1362                            const char *sasl_config_path, const char *sasl_config_name)
      1363     {

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: