Add missing sudo_json_free().
This commit is contained in:
@@ -224,6 +224,8 @@ main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
sudo_json_free(&jsonc);
|
||||||
|
|
||||||
if (ntests != 0) {
|
if (ntests != 0) {
|
||||||
printf("%s: %d tests run, %d errors, %d%% success rate\n",
|
printf("%s: %d tests run, %d errors, %d%% success rate\n",
|
||||||
getprogname(), ntests, errors, (ntests - errors) * 100 / ntests);
|
getprogname(), ntests, errors, (ntests - errors) * 100 / ntests);
|
||||||
|
Reference in New Issue
Block a user