Skip to content

Conversation

@zolodev
Copy link

@zolodev zolodev commented Mar 30, 2023

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.

zolodev added 2 commits March 30, 2023 20:40
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.
Changed free(cur->value) to free(cur), in order to make it work on Windows and Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant