diff options
author | Jim Meyering <jim@meyering.net> | 2003-11-06 09:28:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-11-06 09:28:40 +0000 |
commit | ac5d4cb7984026ea560cffff68bb089eb78ceddb (patch) | |
tree | d3cb1398adb830e041d0f09823ddd9bd00e33ea3 /src | |
parent | a5aaf05fbfcf36b80e4759ea1f40c37cb1313089 (diff) | |
download | coreutils-ac5d4cb7984026ea560cffff68bb089eb78ceddb.tar.xz |
(who): Free `utmp_buf' so there is no confusion about
whether it's leaked or not.
Diffstat (limited to 'src')
-rw-r--r-- | src/who.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -605,6 +605,8 @@ who (const char *filename) list_entries_who (n_users, utmp_buf); else scan_entries (n_users, utmp_buf); + + free (utmp_buf); } void |