…e use, and that they get cleared after use.
In the test harness executables that use JaniceErrors structs, make sure they're zeroed out before they get used. The callee could do that, but it's better to be sure that we're in a good state.
In addition, the JaniceErrors structures were not getting cleared on return, so would leak memory.
Finally, change the loop that reports the errors in the struct so it reports all the errors before (possibly) exiting.
…e use, and that they get cleared after use. In the test harness executables that use JaniceErrors structs, make sure they're zeroed out before they get used. The callee could do that, but it's better to be sure that we're in a good state. In addition, the JaniceErrors structures were not getting cleared on return, so would leak memory. Finally, change the loop that reports the errors in the struct so it reports all the errors before (possibly) exiting.