X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flp_ws.c;h=74d63c779f92b02862d38d49666e72366ce50aab;hb=9875b72f4ac0b5a1cc7fe79c4f7037bd0441e18a;hp=8df7153a3753ceb7604fd2df60c2ebb92508f6fe;hpb=d50e289e14e306fa4c83011d7ab844700a0f0ce1;p=ppastats.git diff --git a/src/lp_ws.c b/src/lp_ws.c index 8df7153..74d63c7 100644 --- a/src/lp_ws.c +++ b/src/lp_ws.c @@ -28,14 +28,14 @@ #include -#include "cache.h" -#include "fcache.h" -#include "http.h" -#include "list.h" -#include "lp_ws.h" -#include "lp_json.h" +#include +#include +#include +#include +#include +#include #include -#include "ppastats.h" +#include #include /** Default ws.size value for the getPublishedBinaries request. */ @@ -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; }