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

ASF GitHub Bot commented on QPID-7702:
--------------------------------------

GitHub user kgiusti opened a pull request:

    https://github.com/apache/qpid-cpp/pull/3

    QPID-7702: use SWIG_fail instead of returning on error

    This change should prevent many of the wrapper-related resource leaks found 
by Coverity.

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

    $ git pull https://github.com/kgiusti/qpid-cpp QPID-7702

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

    https://github.com/apache/qpid-cpp/pull/3.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 #3
    
----
commit 5fa92f8515fd63b7e0eecfb43b26b21dd62a401d
Author: Kenneth Giusti <[email protected]>
Date:   2017-03-13T19:07:25Z

    QPID-7702: use SWIG_fail instead of returning on error

----


> Use of 'return NULL' in swig binding leaks memory
> -------------------------------------------------
>
>                 Key: QPID-7702
>                 URL: https://issues.apache.org/jira/browse/QPID-7702
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: qpid-cpp-1.36.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Minor
>             Fix For: qpid-cpp-1.37.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to