aboutsummaryrefslogtreecommitdiff
path: root/src/rc-status/rc-status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-status/rc-status.c')
-rw-r--r--src/rc-status/rc-status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc-status/rc-status.c b/src/rc-status/rc-status.c
index 78d5a6af..2a6cfda6 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;
}