--- coreutils-8.21/src/uptime.c.orig 2013-01-30 19:46:24.000000000 -0500 +++ coreutils-8.21/src/uptime.c 2013-07-19 11:51:45.823451400 -0400 @@ -176,7 +176,7 @@ uptime (const char *filename, int options) { size_t n_users; - STRUCT_UTMP *utmp_buf; + STRUCT_UTMP *utmp_buf = NULL; #if HAVE_UTMPX_H || HAVE_UTMP_H if (read_utmp (filename, &n_users, &utmp_buf, options) != 0) @@ -184,6 +184,8 @@ #endif print_uptime (n_users, utmp_buf); + + IF_LINT (free (utmp_buf)); } void