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

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

GitHub user kgiusti opened a pull request:

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

    QPID-7702: Fix some minor memory leaks detected by Coverity scan

    Use SWIG_fail instead of returning on error.
    Avoid possible leaks during exception handling.

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/4.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 #4
    
----
commit 1c3b787a0e204dd1627f4aba781eece3114c8593
Author: Kenneth Giusti <[email protected]>
Date:   2017-03-13T19:07:25Z

    QPID-7702: Fix some minor memory leaks detected by Coverity scan
    
    Use SWIG_fail instead of returning on error.
    Avoid possible leaks during exception handling.

----


> 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