Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.16.1
-
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 {