X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ppastats.git;a=blobdiff_plain;f=src%2Flp_ws.c;h=64db1d7a39a3b0fb467bc9ea06d8178f2ec1b539;hp=8df7153a3753ceb7604fd2df60c2ebb92508f6fe;hb=b1db548b56f7b188d70efff5eb4c73797727c862;hpb=0303d0d705cfc2a100403a708fca0e93b12d2a93 diff --git a/src/lp_ws.c b/src/lp_ws.c index 8df7153..64db1d7 100644 --- a/src/lp_ws.c +++ b/src/lp_ws.c @@ -430,8 +430,8 @@ struct daily_download_total **get_daily_download_totals(const char *binary_url) free(key); if (ddts != cached_ddts) - free(cached_ddts); - free(retrieved_ddts); + daily_download_total_list_free(cached_ddts); + daily_download_total_list_free(retrieved_ddts); return ddts; }