X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=stats.cpp;h=24bc23f6cbda30c567214b6e5fe29441793b50bd;hp=fa483bf3a617fbed566ac1d053ac21e6e115c858;hb=340489a8e732519182ecbc92116e7dfa2997143c;hpb=6942bd4c7da1379565817ae82e6ace259abf4492 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,