Not all memory leaks were fixed. Mainly no objects are freed.
This is left to when there will be a list of all dynamically allocated objects. The freeing will then be a lot more trivial then it would be now. The problem also is that some values are in two places at once (globals and const pool), but some are not, so we would have to be very careful with freeing.
Not all memory leaks were fixed. Mainly no objects are freed. This is left to when there will be a list of all dynamically allocated objects. The freeing will then be a lot more trivial then it would be now. The problem also is that some values are in two places at once (globals and const pool), but some are not, so we would have to be very careful with freeing.
closes #29