corth-lang / Corth

A self-hosted stack based language like Forth
MIT License
7 stars 1 forks source link

Compiler causes memory leak #26

Open HuseyinSimsek7904 opened 9 months ago

HuseyinSimsek7904 commented 9 months ago

Because of some old problems with mfree, we tried not to use it in Corth/compiler/compiler.corth. But since we now know that it is stable enough, we should start deallocating allocated memory. We should try to fix all of the memory leak and check with dynamic/debug_malloc library.