aboutsummaryrefslogtreecommitdiff
path: root/gshadow
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-07-16 17:34:43 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-07-21 07:34:43 +0200
commit00bc6830e3fe3f10495917afe0835ddd19133c6a (patch)
tree98d237de23a17adb847b5d6ce5a3bd34ea606c99 /gshadow
parentee1c062be09da006e82ab34c1c9b5c82dd2af92c (diff)
downloadglibc-00bc6830e3fe3f10495917afe0835ddd19133c6a.zip
glibc-00bc6830e3fe3f10495917afe0835ddd19133c6a.tar.gz
glibc-00bc6830e3fe3f10495917afe0835ddd19133c6a.tar.bz2
shadow: Implement fgetspent_r using __nss_fgetent_r
Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'gshadow')
-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;
}