3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-22 13:41:27 +00:00

microchip: fix IdString memory leak

This commit is contained in:
Emil J. Tywoniak 2025-11-13 02:02:02 +01:00
parent 8c76f93fce
commit bc3fc21248
2 changed files with 4 additions and 4 deletions

View file

@ -268,7 +268,7 @@ endmatch
code
if (postAdd)
{
if (postAdd->type.in(ID($sub)) && postAddAB == \A) {
if (postAdd->type.in($sub) && postAddAB == \A) {
// if $sub, the multiplier output must match to $sub.B, otherwise no match
} else {
u_postAddAB = postAddAB;