X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=stats.cpp;fp=stats.cpp;h=24bc23f6cbda30c567214b6e5fe29441793b50bd;hp=fa483bf3a617fbed566ac1d053ac21e6e115c858;hb=60dd549bbb99f6ebc4c083e9076e4af425bb219b;hpb=0f8e26eb85f86b7b543243f8e98938eeec909e31 diff --git a/stats.cpp b/stats.cpp index fa483bf..24bc23f 100644 --- a/stats.cpp +++ b/stats.cpp @@ -74,6 +74,7 @@ void StatsThread::do_work() log_perror("rename"); unlink(filename); } + free(filename); sleep: // Wait until the stop_fd pipe is closed, stats_interval timeout,