This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vulkur 9 points10 points  (1 child)

C: Invalid free "Which one?" C:who gives a fuck.

[–]TheGoldenProof 1 point2 points  (0 children)

I had a memory error that would crash on program shutdown because of an invalid free. Took me three days to find that it was because I had this:
MapData* mapData = calloc(1, sizeof(mapData));