| commit | 5436d38d6d834b747f72666bec3013781811d6d6 | [log] [tgz] |
|---|---|---|
| author | Andrew Price <anprice@redhat.com> | Sat Apr 26 02:56:17 2014 +0100 |
| committer | Andrew Price <anprice@redhat.com> | Sat Apr 26 02:56:17 2014 +0100 |
| tree | c2a5fff8b27de121601ebbe5c50a24b001aff940 | |
| parent | b6614e33a051a1d02074585fa23ca5a084515c8f [diff] |
Simplify temp movie directory creation plot_io_movie() was calling create_movie_temp_dir() which unnecessarily strdup()ed a string constant leaving plot_io_movie() to free it. Replace the strdup() with a mutable char array and get rid of the free(). Merge the few remaining lines which create the movie dir into plot_io_movie(). Also prune a duplicate declaration of start_mpstat() in tracers.h Signed-off-by: Andrew Price <anprice@redhat.com>