Please sign in to comment.
getline: clean up freeing of lines from getline
It was noted that several calls to getline failed to free the resultant line, which the man page for getline says to do even if the call fails. Clean that up here And while we're at it, merge some of the free calls so they're common to a function where they can be, and not strewn all over the place Signed-off-by: Neil Horman <firstname.lastname@example.org>
- Loading branch information...