Fix memory leaks:
authorLee Baker <lee@leecbaker.com>
Sat, 9 Mar 2013 19:27:56 +0000 (13:27 -0600)
committerLee Baker <lee@leecbaker.com>
Sat, 9 Mar 2013 19:27:56 +0000 (13:27 -0600)
commit2fa4cde9b8806faceffb8677440b54ca4c90b6f7
tree442cabf98ce4c55991cd7834a1c42806c03438ec
parentc857677f2a3af9da652dd6b5fc97249368e6e7d8
Fix memory leaks:
* When downloading a remote FASTA index
* When indexing a BAM, we can't open the FAI file
* When indexing a BCF, we can't open the index file
* Parsing a VCF header with no sample line
* Encountering multiple adjacent tabs in a SAM header
bam_index.c
bcftools/index.c
bcftools/vcf.c
sam_header.c