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:
parent
948001f39f
commit
b23dc345ae
3 changed files with 14 additions and 9 deletions
|
|
@ -276,7 +276,6 @@ void RTLIL::OwningIdString::collect_garbage()
|
|||
++it;
|
||||
continue;
|
||||
}
|
||||
delete[] it->second.full_str;
|
||||
it = global_autoidx_id_storage_.erase(it);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue