Fix memory leak when one of multiple DFF cells is removed in opt_rmdff
authorBogdan Vukobratovic <bogdan.vukobratovic@gmail.com>
Thu, 27 Jun 2019 20:02:12 +0000 (22:02 +0200)
committerBogdan Vukobratovic <bogdan.vukobratovic@gmail.com>
Thu, 27 Jun 2019 20:02:12 +0000 (22:02 +0200)
commit35fa7b30574244e4f99373f2a790f004b4a1dbbb
tree15c78bc27293b428d2e8879b23e9370b88e2b800
parent0f32cb4e0af85e16a90ae274cf7c9fee6fbd2ad7
Fix memory leak when one of multiple DFF cells is removed in opt_rmdff

When there are multiple DFFs and one of them is removed, its reference lingers
inside bit2driver dict. While invoking handle_dff() function for other DFFs,
this broken reference is used isnside sat_import_cell() function.
passes/opt/opt_rmdff.cc