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.
Answered by
Tripouille
Apr 11, 2023
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.
1 reply
Answer selected by
MAWemah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, looks like you're trying to free a not allocated pointer. Maybe you call free on an uninitialized pointer?