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 780409afa9..f81e09b362 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;
}