AutoPointer may have a memory leak
Bug #397243 reported by
Iyer Arvind Sundaram
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
कर्म |
Fix Committed
|
High
|
Prasad H L Bhat |
Bug Description
the initialise of autopointer calls reset. This calls the ReferenceCounte
The name autopointer is misleading for a Reference Counted Autopointer. I suggest refactoring the name to RCAutoPointer at least
Changed in project-karma: | |
importance: | Undecided → High |
To post a comment you must log in.
I have made some changes to the code. You may check it out in my junk+. Also i have imported RCAutoPointer, which is tried and tested in another project of mine. Otherwise you can take it from my attachment. I have also implemented "operator= (DataType* )" which does essentially the same thing and it works fine.