amazon-ion / ion-c

A C implementation of Amazon Ion.
https://amazon-ion.github.io/ion-docs/
Apache License 2.0
166 stars 43 forks source link

Close readers in recently added unit tests #309

Closed nirosys closed 2 years ago

nirosys commented 2 years ago

Issue #, if available: n/a

Description of changes: Looks like after a recent merge some leak sanitizer errors occurred. Build logs can be seen here. The unit tests didn't close the readers used, so this PR closes them.

Hoping to start failing builds on sanitizer errors very soon.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.