You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2010/01/22 21:22:45 UTC

[jira] Created: (AMQCPP-281) Memory Leak in Pointer class Constructor when dynamic cast fails.

Memory Leak in Pointer class Constructor when dynamic cast fails.
-----------------------------------------------------------------

                 Key: AMQCPP-281
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-281
             Project: ActiveMQ C++ Client
          Issue Type: Bug
    Affects Versions: 3.1
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 3.1.1, 3.2.0


If the Pointer class has its dynamicCast method invoked and the cast fails in the Constructor of the new Pointer instance then there is a leak since the ref counter is not released before the ClassCastException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQCPP-281) Memory Leak in Pointer class Constructor when dynamic cast fails.

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQCPP-281.
---------------------------------

    Resolution: Fixed

Resolved in trunk and 3.1.x fixes branch.

> Memory Leak in Pointer class Constructor when dynamic cast fails.
> -----------------------------------------------------------------
>
>                 Key: AMQCPP-281
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-281
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 3.1.1, 3.2.0
>
>
> If the Pointer class has its dynamicCast method invoked and the cast fails in the Constructor of the new Pointer instance then there is a leak since the ref counter is not released before the ClassCastException is thrown.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.