You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (JIRA)" <ji...@apache.org> on 2016/09/16 14:41:20 UTC

[jira] [Resolved] (DISPATCH-498) memory leak in _configure_ssl_profile error path

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

Ganesh Murthy resolved DISPATCH-498.
------------------------------------
    Resolution: Fixed

> memory leak in _configure_ssl_profile error path
> ------------------------------------------------
>
>                 Key: DISPATCH-498
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-498
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.6.1
>            Reporter: Chuck Rolke
>            Assignee: Ganesh Murthy
>             Fix For: 0.7.0
>
>
> As ssl_profile is constructed the CHECK() macro might jump to the error handler. There the ssl_profile is simply freed. Any strings referenced by ssl_profile are orphaned. Call qd_config_ssl_profile_free() instead of simple free().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org