summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests/stdio/getdelim_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/tests/stdio/getdelim_test.c')
-rw-r--r--lib/libc/tests/stdio/getdelim_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/tests/stdio/getdelim_test.c b/lib/libc/tests/stdio/getdelim_test.c
index 5ef589a..1d24f5c 100644
--- a/lib/libc/tests/stdio/getdelim_test.c
+++ b/lib/libc/tests/stdio/getdelim_test.c
@@ -208,7 +208,6 @@ ATF_TC_BODY(empty_NULL_buffer, tc)
/* Make sure NULL *linep and zero *linecapp are handled. */
fp = mkfilebuf();
- free(line);
line = NULL;
linecap = 42;
ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1);
OpenPOWER on IntegriCloud