[ 
https://issues.apache.org/jira/browse/DISPATCH-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15490468#comment-15490468
 ] 

ASF GitHub Bot commented on DISPATCH-498:
-----------------------------------------

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/98

    DISPATCH-498 - Used qd_config_ssl_profile_free instead of free()

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-498

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/98.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #98
    
----
commit 40b0803f51eaefbf3abd7d44b571e032cc1ef106
Author: Ganesh Murthy <gmur...@redhat.com>
Date:   2016-09-14T13:39:19Z

    DISPATCH-498 - Used qd_config_ssl_profile_free instead of free()

----


> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to