[med-svn] samtools 03/26: Free the outer struct last
Charles Plessy
plessy at moszumanska.debian.org
Tue Dec 10 10:06:24 UTC 2013
This is an automated email from the git hooks/post-receive script.
plessy pushed a commit to branch debian/unstable
in repository samtools.
commit d0ebd20d3c6f5a998247fc08829cfd2b58a8927a
Author: John Marshall <jm18 at sanger.ac.uk>
Date: Thu Nov 21 17:59:40 2013 +0000
Free the outer struct last
---
stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stats.c b/stats.c
index fbdd39f..2bfce6c 100644
--- a/stats.c
+++ b/stats.c
@@ -1470,8 +1470,8 @@ int main_stats(int argc, char *argv[])
free(stats->del_cycles_1st);
free(stats->del_cycles_2nd);
destroy_regions(stats);
- free(stats);
if ( stats->rg_hash ) khash_str2int_destroy(stats->rg_hash);
+ free(stats);
return 0;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/samtools.git
More information about the debian-med-commit
mailing list