Bugfix: api: Free parsed JSON for cmd POST

This commit is contained in:
Luke Dashjr 2025-01-16 04:13:44 +00:00
parent c4a1845a53
commit 8f0b100823
No known key found for this signature in database
GPG Key ID: A291A2C45D0C504A

View File

@ -438,6 +438,7 @@ int datum_api_cmd(struct MHD_Connection *connection, char *post, int len) {
}
}
}
json_decref(root);
}
}
}