aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Felipe Strano Moraes <luis.strano@gmail.com>2015-01-22 16:29:34 -0600
committerLuis Felipe Strano Moraes <luis.strano@gmail.com>2015-01-22 16:29:34 -0600
commitb5e72209c79b3e181673d469c8e064ae8b409836 (patch)
treedd61e0e80c1bb5a7059be37602cae2477a1a67bb
parent4bb3a3529704989dd9112baece164b2f51b44e89 (diff)
downloadtoybox-b5e72209c79b3e181673d469c8e064ae8b409836.tar.gz
bootchartd: Removing wrong free call to non-malloc'ed string.
-rw-r--r--toys/pending/bootchartd.c1
1 files changed, 0 insertions, 1 deletions
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);