Description
The operations on ref count of ComDiagsArea appears in several places, and have be to consistent. If one is missed, that count would be incorrect, causing memory leak or access to wild pointer.
So the access pattern can be improved by wrap the operations in a single funcion, like atp_struct::setDiagsArea(), or ComDiagsArea::operator=().
Attachments
Issue Links
- Blocked
-
TRAFODION-3211 wrap increment and decrement of ref count of ComDiagsArea within function atp_struct::setDiagsArea()
- Open