From b5e72209c79b3e181673d469c8e064ae8b409836 Mon Sep 17 00:00:00 2001 From: Luis Felipe Strano Moraes Date: Thu, 22 Jan 2015 16:29:34 -0600 Subject: bootchartd: Removing wrong free call to non-malloc'ed string. --- toys/pending/bootchartd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/toys/pending/bootchartd.c b/toys/pending/bootchartd.c index 72ade69c..b29d4f05 100644 --- a/toys/pending/bootchartd.c +++ b/toys/pending/bootchartd.c @@ -294,7 +294,6 @@ void bootchartd_main() putenv("PATH=/sbin:/usr/sbin:/bin:/usr/bin"); start_logging(); stop_logging(tmp_dir, bchartd_opt == 1 ? toys.optargs[1] : NULL); - free(tmp_dir); return; } waitpid(lgr_pid, NULL, WUNTRACED); -- cgit v1.2.3