bootchartd: Removing wrong free call to non-malloc'ed string.
authorLuis Felipe Strano Moraes <luis.strano@gmail.com>
Thu, 22 Jan 2015 22:29:34 +0000 (16:29 -0600)
committerLuis Felipe Strano Moraes <luis.strano@gmail.com>
Thu, 22 Jan 2015 22:29:34 +0000 (16:29 -0600)
toys/pending/bootchartd.c

index 72ade69..b29d4f0 100644 (file)
@@ -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);