sst-core icon indicating copy to clipboard operation
sst-core copied to clipboard

ComponentInfo keeps references to deleted objects

Open jjwilke opened this issue 6 years ago • 0 comments

ComponentInfo just points to objects inside ConfigComponent, which means ComponentInfo is pointing to deleted memory. The main problems are Params and stat enable list.

Params and EnableLists should really be moved to shared_ptr semantics so we don't have to copy data, but don't have bad references to deleted memory anymore.

jjwilke avatar Apr 16 '19 20:04 jjwilke