diff --git a/src/datum_api.c b/src/datum_api.c index 646c6e3..611e7e5 100644 --- a/src/datum_api.c +++ b/src/datum_api.c @@ -438,6 +438,7 @@ int datum_api_cmd(struct MHD_Connection *connection, char *post, int len) { } } } + json_decref(root); } } }