forked from samtools/samtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust some error messages Add more error checking, mostly for memory allocation and to ensure that iterators have finished correctly. Ensures that errors bubble up to main() with proper clean-up instead of calling exit directly. Mainly benefits pysam, which embeds samtools in a way that leaks resources if they aren't cleaned up properly.
- Loading branch information
Showing
1 changed file
with
132 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters