2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Add missing sudo_json_free().

This commit is contained in:
Todd C. Miller 2022-12-17 16:37:29 -07:00
parent 0614c1f626
commit d7b3673933

View File

@ -224,6 +224,8 @@ main(int argc, char *argv[])
}
done:
sudo_json_free(&jsonc);
if (ntests != 0) {
printf("%s: %d tests run, %d errors, %d%% success rate\n",
getprogname(), ntests, errors, (ntests - errors) * 100 / ntests);