aboutsummaryrefslogtreecommitdiff
path: root/gshadow/tst-fgetsgent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'gshadow/tst-fgetsgent_r.c')
-rw-r--r--gshadow/tst-fgetsgent_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gshadow/tst-fgetsgent_r.c b/gshadow/tst-fgetsgent_r.c
index 780409a..f81e09b 100644
--- a/gshadow/tst-fgetsgent_r.c
+++ b/gshadow/tst-fgetsgent_r.c
@@ -168,6 +168,7 @@ run_test (const char *path, size_t buffer_size)
free (result_storage);
}
+ xfclose (fp);
return resized;
}