Ticket #561 (closed defect: fixed)

Opened 11 years ago

Last modified 7 years ago

PropertySet allows cycles to be created

Reported by: smm Owned by: ktl
Priority: normal Milestone:
Component: daf_base Keywords:
Cc: Blocked By:
Blocking: Project: LSST
Version Number:
How to repeat:

not applicable

Description

The implementation doesn't prohibit shared_ptr reference cycles: consider the PropertySet for a single property "a". It would be possible to add the PropertySet::Ptr for "a" to itself, say with name "a.b"; the resulting object cycle would be leaked.

Change History

comment:1 Changed 11 years ago by ktl

  • Status changed from new to assigned

comment:2 Changed 11 years ago by ktl

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in [6942].

comment:3 Changed 7 years ago by robyn

  • Milestone DC3a MW Interface deleted

Milestone DC3a MW Interface deleted

Note: See TracTickets for help on using tickets.