Re: [Boost-bugs] [Boost C++ Libraries] #738: Memory leaks with signal::connect?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #738: Memory leaks with signal::connect?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-21 18:39:34


#738: Memory leaks with signal::connect?
----------------------+-----------------------------------------------------
  Reporter: dgregor | Owner: dgregor
      Type: Bugs | Status: new
 Milestone: | Component: signals
   Version: None | Severity: Showstopper
Resolution: None | Keywords:
----------------------+-----------------------------------------------------

Comment(by steven_watanabe):

 The leak occurs at
 [/browser/trunk/libs/signals/src/signal_base.cpp?revision=31949#L90
 signal_base.cpp line 90] when attempting to insert a slot in more than one
 signal. The old pointer is overwritten and lost. I'm not sure whether
 this is supposed to work or not. The implementation of slot seems to
 assume that a slot will only be used in one signal, but the documentation
 doesn't seem to show such a restriction.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/738#comment:4>
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:01 UTC