diff --git a/man3/getline.3 b/man3/getline.3 index fb230f313..e9e7172e2 100644 --- a/man3/getline.3 +++ b/man3/getline.3 @@ -21,7 +21,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" License. -.TH GETLINE 3 2009-12-05 "GNU" "Linux Programmer's Manual" +.TH GETLINE 3 2010-06-12 "GNU" "Linux Programmer's Manual" .SH NAME getline, getdelim \- delimited string input .SH SYNOPSIS @@ -156,8 +156,7 @@ main(void) printf("%s", line); } - if (line) - free(line); + free(line); exit(EXIT_SUCCESS); } .fi