[ 
https://issues.apache.org/jira/browse/DISPATCH-2207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ken Giusti resolved DISPATCH-2207.
----------------------------------
    Resolution: Fixed

> Leak of qd_connector_t (coverity)
> ---------------------------------
>
>                 Key: DISPATCH-2207
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2207
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.16.1
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Major
>             Fix For: 1.17.0
>
>
> /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     {



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to