Skip to content

Commit

Permalink
Bugfix: api: Free parsed JSON for cmd POST
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Jan 16, 2025
1 parent c4a1845 commit 8f0b100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datum_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ int datum_api_cmd(struct MHD_Connection *connection, char *post, int len) {
}
}
}
json_decref(root);
}
}
}
Expand Down

0 comments on commit 8f0b100

Please sign in to comment.