team-karma team mailing list archive
-
team-karma team
-
Mailing list archive
-
Message #00000
[Bug 397243] [NEW] AutoPointer may have a memory leak
Public bug reported:
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
** Affects: project-karma
Importance: High
Status: New
** Changed in: project-karma
Importance: Undecided => High
--
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: New
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
Follow ups
References