0023-skill: Fix getline() usage.
man getline: "If *lineptr is set to NULL and *n is set 0 before the call, then getline() will allocate a buffer for storing the line. This buffer should be freed by the user program even if getline() failed."
This commit is contained in:
1 parent
c704460c7d
commit
fa7ea000ce
1 file changed
+3
-1
Reference in new issue
Block a user