aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/common
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/common')
-rw-r--r--hardinfo2/arch/common/users.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/arch/common/users.h b/hardinfo2/arch/common/users.h
index 31d0b719..8d087fa5 100644
--- a/hardinfo2/arch/common/users.h
+++ b/hardinfo2/arch/common/users.h
@@ -58,4 +58,6 @@ scan_users_do(void)
users = h_strdup_cprintf("$%s$%s=%s\n", users, key, passwd_->pw_name, passwd_->pw_gecos);
passwd_ = getpwent();
}
+
+ endpwent();
}