svhawkins / B-Minor-Compiler

COMP 4060 B-Minor Compiler
2 stars 0 forks source link

Get rid of memory leaks in test code. #7

Closed svhawkins closed 9 months ago

svhawkins commented 1 year ago

Have fun with valgrind.

svhawkins commented 10 months ago

12.02.2023::00:41:

svhawkins commented 10 months ago

Resolved in latest commit, test_stack and test_typecheck abort due to illegal free when running all tests or running without valgrind.

10 addresses this issue. Memory problems now are hidden symbol centered.

svhawkins commented 9 months ago

Issue #10 resolved the memory issues (so far). The big culprit was the hidden symbol implementation. It has been removed. A better implementation for it will soon come, however.