activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQCPP-281) Memory Leak in Pointer class Constructor when dynamic cast fails.
Date Fri, 22 Jan 2010 21:06:44 GMT

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


Mime
View raw message