projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed memleak
[ppastats.git]
/
src
/
lp_ws.c
diff --git
a/src/lp_ws.c
b/src/lp_ws.c
index
3905a28
..
8df7153
100644
(file)
--- a/
src/lp_ws.c
+++ b/
src/lp_ws.c
@@
-402,6
+402,7
@@
struct daily_download_total **get_daily_download_totals(const char *binary_url)
if (json) {
cached_ddts = json_object_to_daily_download_totals(json);
if (json) {
cached_ddts = json_object_to_daily_download_totals(json);
+ json_object_put(json);
last_t = ddts_get_last_date(cached_ddts);
} else {
last_t = 0;
last_t = ddts_get_last_date(cached_ddts);
} else {
last_t = 0;