[ 
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.

Reply via email to