diff options
Diffstat (limited to 'src/who.c')
-rw-r--r-- | src/who.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -421,6 +421,9 @@ print_user (const STRUCT_UTMP *utmp_ent, time_t boottime) } sprintf (hoststr, "(%s)", host); } + + if (host != ut_host) + free (host); } else { |