epatrizio / cds

Data structures in C language
The Unlicense
0 stars 0 forks source link

Memory management errors #16

Closed epatrizio closed 2 years ago

epatrizio commented 2 years ago

When using vectors in the Universal Machine, many errors appear (data inconsistencies).

epatrizio commented 2 years ago

By running vector tests suite with Valgrind tool, bug located at the create vector level (malloc pointer versus structure!)

epatrizio commented 2 years ago

Previous commit fix vector error. But It's not over, there are still similar errors (Ex. Linked List)

epatrizio commented 2 years ago

Now, it seems to be ok! Full tests suite run with valgrind no longer returns error!