diff --git a/src/rc-status/rc-status.c b/src/rc-status/rc-status.c index 78d5a6af0..2a6cfda64 100644 --- a/src/rc-status/rc-status.c +++ b/src/rc-status/rc-status.c @@ -131,6 +131,8 @@ static char *get_uptime(const char *service) "%02"PRId64":%02"PRId64":%02"PRId64" (%s)", diff_hours, diff_mins, diff_secs, start_count); } + free(start_count); + free(start_time_string); } return uptime; }