3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-12-04 19:16:48 +00:00

Make it safe to access .c_str() for autoidx IDs in a multithreaded context

This commit is contained in:
Robert O'Callahan 2025-11-25 01:02:01 +00:00
parent 948001f39f
commit b23dc345ae
3 changed files with 14 additions and 9 deletions

View file

@ -276,7 +276,6 @@ void RTLIL::OwningIdString::collect_garbage()
++it;
continue;
}
delete[] it->second.full_str;
it = global_autoidx_id_storage_.erase(it);
}