changeset 1670:31dded5e0e09 draft

bootchartd: Removing wrong free call to non-malloc'ed string.
author Luis Felipe Strano Moraes <luis.strano@gmail.com>
date Thu, 22 Jan 2015 16:29:34 -0600
parents e3d20011b68e
children 05c8de3f64fd
files toys/pending/bootchartd.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/pending/bootchartd.c	Thu Jan 22 02:18:30 2015 -0600
+++ b/toys/pending/bootchartd.c	Thu Jan 22 16:29:34 2015 -0600
@@ -294,7 +294,6 @@
       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);