Losing memory connecting multiple signals to a passed slot_type

Hi, I've been losing memory when using Boost::Signal. I cannot find anywhere
in forums and documentation if it's legal to use a passed slot_type multiple
times, so I feel that may be the issue, but was wondering if someone here
could either verify that or otherwise help me fix my problem.
I have a PageManager that inherits from boost::signals::trackable. From
this PageManager I make this call:
-------------------------
texthandle[i].getPhrases
(
boost::bind( &PageManagerCommon::shortcutHandler, this, i )
);
-------------------------
TextHandle also inherits boost::signals::trackable. To test the leak, I
replaced TextHandle::getPhrases with the following code:
-------------------------
typedef boost::signal0<void> PhraseSignalType;
struct PhraseType
{
PhraseSignalType signal;
};
void TextHandle::getPhrases
(
const PhraseSignalType::slot_type& aSlot //!< The slot to connect
the phrase signals to
) const
{
PhraseType *phrase;
std::list
participants (1)
-
COBryan