[
https://issues.apache.org/jira/browse/DISPATCH-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Giusti resolved DISPATCH-1511.
----------------------------------
Resolution: Fixed
> Leak reported by coverity static analysis
> ------------------------------------------
>
> Key: DISPATCH-1511
> URL: https://issues.apache.org/jira/browse/DISPATCH-1511
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Management Agent
> Affects Versions: 1.9.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Trivial
> Fix For: 1.11.0
>
>
> 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 }}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]