OK but Malloc Error #13
-
Hello, I'm another 42 student writing a get_next_line, and while my own tests work well, when I use the tester I'm receiving this error along with my "OK":
I have been fiddling around in both my code and the tester to understand what is causing the error but couldn't find it, any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, looks like you're trying to free a not allocated pointer. Maybe you call free on an uninitialized pointer? |
Beta Was this translation helpful? Give feedback.
Hi, looks like you're trying to free a not allocated pointer. Maybe you call free on an uninitialized pointer?