[Boost-bugs] [Boost C++ Libraries] #6035: Klocwork warning found in statechart regarding inconsistent memory free

Subject: [Boost-bugs] [Boost C++ Libraries] #6035: Klocwork warning found in statechart regarding inconsistent memory free
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-19 12:15:18


#6035: Klocwork warning found in statechart regarding inconsistent memory free
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: andreas_huber69
     Type: Support Requests | Status: new
Milestone: To Be Determined | Component: statechart
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 FREE.INCONSISTENT : Memory pointed by 'pBase' is freed at this point, but
 this memory is not freed upon function exits at line(s) 93. :

 inline void intrusive_ptr_release( const ::boost::statechart::event_base *
 pBase )
 {
   if ( pBase->release() )
   {
     ::boost::statechart::detail::delete_helper::delete_object( pBase );
   }
 }

 Path: C:\boost\boost\statechart\event_base.hpp
 Line: 91
 Severity: Severe

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6035>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC