diff options
author | Jim Meyering <jim@meyering.net> | 2003-11-05 03:15:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-11-05 03:15:21 +0000 |
commit | 0a9816d8ba88949e9a4195d0c93947a0c01fc717 (patch) | |
tree | 6b759bdba4b6bce0a33376d2bf2b507bd2677f5b /src | |
parent | f920b8b66eeacf5decf6a11230b9ee7ba9f6ffa0 (diff) | |
download | coreutils-0a9816d8ba88949e9a4195d0c93947a0c01fc717.tar.xz |
(users): Free `utmp_buf' explicitly so that people
don't mistake this for a real leak.
Diffstat (limited to 'src')
-rw-r--r-- | src/users.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.c b/src/users.c index eb2bd56e1..d53d33708 100644 --- a/src/users.c +++ b/src/users.c @@ -104,6 +104,8 @@ users (const char *filename) error (EXIT_FAILURE, errno, "%s", filename); list_entries_users (n_users, utmp_buf); + + free (utmp_buf); } void |