Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 memory leak

closed
nobody
None
5
2006-08-19
2005-06-30
Anonymous
No

if you set a customised output via
CmdLine::setOutput(CmdLineOutput* co) the original
Object assigned to _output is not correctly destroyed.
I have changed the function like this:

inline void CmdLine::setOutput(CmdLineOutput* co)
{
_userSetOutput = true;
if (_output != NULL) delete _output;
_output = co;
}

Discussion

  • Mike Smoot
    Mike Smoot
    2006-08-19

    • status: open --> closed
     
  • Mike Smoot
    Mike Smoot
    2006-08-19

    Logged In: YES
    user_id=27603

    Fixed in release 1.1.0