SymbiFlow/uxsdcxx

Add memory freeing functions

Closed this issue · 1 comments

duck2 commented

Currently, the generated code allocates arenas for elements and strdups some strings, but there is no function to free the memory. Add a freeing function so that people can release the generated structures.

duck2 commented

We can clear_pools() now, but we still can't free the memory allocated with strdup.