nss-systemd: fix memory leak

This commit is contained in:
jouyouyun
2025-11-06 11:18:10 +08:00
committed by Mike Yuan
parent 7b3046e693
commit 9ebf0d260d

View File

@@ -726,7 +726,7 @@ enum nss_status _nss_systemd_getgrent_r(
int *errnop) {
_cleanup_(group_record_unrefp) GroupRecord *gr = NULL;
_cleanup_free_ char **members = NULL;
_cleanup_strv_free_ char **members = NULL;
int r;
PROTECT_ERRNO;