Closed spacemonkeydelivers closed 1 year ago
LibertyReader::beginTestCell transfers ownership to cell_ and it is freed in LibertyCell::~LibertyCell
I suspect your library has more than one test cell in a cell, in which case the first one leaks. If that is the case I can update it to delete the first one and warn. I would say the library is broken.
Hi,
I've been using OpenSTA and at some point I've built my project with ASAN and it reported a memory leak in OpenSTA:
If you'd take a look into liberty/LibertyReader.cc for beginTestCell and endTestCell you'd notice that testcell is allocated but is never freed. Or am I missing something?
Thanks