3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

Fixed memory leak in DPI function calls

This commit is contained in:
Clifford Wolf 2014-08-21 13:09:47 +02:00
parent 4f35a81ad9
commit 490d7a5bf2

View file

@ -1467,6 +1467,10 @@ skip_dynamic_range_lvalue_expansion:;
}
newNode = dpi_call(rtype, fname, argtypes, args);
for (auto arg : args)
delete arg;
goto apply_newNode;
}