team-karma team mailing list archive
-
team-karma team
-
Mailing list archive
-
Message #00004
[Bug 397243] Re: AutoPointer may have a memory leak
The fix for this is committed in the main branch of the project.
** Changed in: project-karma
Status: New => Fix Committed
--
AutoPointer may have a memory leak
https://bugs.launchpad.net/bugs/397243
You received this bug notification because you are a member of कर्म,
which is the registrant for कर्म.
Status in Karma - Dynamic Systems Modelling, Simulation and Control: Fix Committed
Bug description:
the initialise of autopointer calls reset. This calls the ReferenceCounter::reset()->refCount set to 0. Then the reference is set to _ref. which will never be deleted. Is this intensional so that the pointer is NOT deleted?
The name autopointer is misleading for a Reference Counted Autopointer. I suggest refactoring the name to RCAutoPointer at least
References