Skip to content

Commit

Permalink
Use bcf_itr_destroy() with bcf_itr_querys() [minor]
Browse files Browse the repository at this point in the history
Both tbx_itr_destroy() and bcf_itr_destroy() are currently just aliases
for hts_itr_destroy(), but correct it anyway as tabix.c may be used as
sample code.
  • Loading branch information
jmarshall committed May 4, 2021
1 parent d112e4f commit b331413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabix.c
Expand Up @@ -263,7 +263,7 @@ static int query_regions(args_t *args, tbx_conf_t *conf, char *fname, char **reg
if (ret < -1) {
error_errno("Reading \"%s\" failed", fname);
}
tbx_itr_destroy(itr);
bcf_itr_destroy(itr);
}
bcf_destroy(rec);
}
Expand Down

0 comments on commit b331413

Please sign in to comment.