diff options
author | Zachary Snow <zach@zachjs.com> | 2021-02-23 20:39:13 -0500 |
---|---|---|
committer | Zachary Snow <zach@zachjs.com> | 2021-02-23 20:49:21 -0500 |
commit | 5e439b6e3fdb498c821cccfed456547e9568f47b (patch) | |
tree | 0b559fe4e7a2a3ce384afa42e77005ff1d231423 /tests/verilog/delay_risefall.ys | |
parent | b05b98521c781fef0f9d900a53310cad9e1434b0 (diff) | |
download | yosys-5e439b6e3fdb498c821cccfed456547e9568f47b.tar.gz yosys-5e439b6e3fdb498c821cccfed456547e9568f47b.tar.bz2 yosys-5e439b6e3fdb498c821cccfed456547e9568f47b.zip |
Fix double-free on unmatched logger error pattern
When an expected logger error pattern is unmatched, the logger raises
another (hidden) error. Because of the previous ordering of actions,
`logv_error_with_prefix()` would inadvertently invoke `yosys_atexit()`
twice, causing a double-free.
Diffstat (limited to 'tests/verilog/delay_risefall.ys')
0 files changed, 0 insertions, 0 deletions