liblcthw
liblcthw copied to clipboard
Mitigating free(): invalid pointer on Windows and Linux
As I struggled to understand why the code did not work on either Windows and Linux but it worked fine on OSX, I finally figured it out, and it works like a charm as soon as the list->count is set to zero.