File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11CFLAGS= -g -Wall -O2 -Wc++-compat #-Wextra
22CPPFLAGS= -DHAVE_KALLOC -DUSE_SIMDE -DSIMDE_ENABLE_NATIVE_ALIASES
33INCLUDES= -Ilib/simde
4- OBJS= kthread.o kalloc.o misc.o bseq.o sketch.o sdust.o options.o index.o chain .o align.o hit.o map.o format.o pe.o esterr.o splitidx.o \
4+ OBJS= kthread.o kalloc.o misc.o bseq.o sketch.o sdust.o options.o index.o lchain .o align.o hit.o map.o format.o pe.o seed .o esterr.o splitidx.o \
55 ksw2_extz2_simde.o ksw2_extd2_simde.o ksw2_exts2_simde.o ksw2_ll_simde.o
66PROG= minimap2
77PROG_EXTRA= sdust minimap2-lite
Original file line number Diff line number Diff line change @@ -410,7 +410,10 @@ int main(int argc, char *argv[])
410410 if (mm_verbose >= 3 ) mm_idx_stat (mi );
411411 if (junc_bed ) mm_idx_bed_read (mi , junc_bed , 1 );
412412 if (alt_list ) mm_idx_alt_read (mi , alt_list );
413- if (argc - (o .ind + 1 ) == 0 ) continue ; // no query files
413+ if (argc - (o .ind + 1 ) == 0 ) {
414+ mm_idx_destroy (mi );
415+ continue ; // no query files
416+ }
414417 ret = 0 ;
415418 if (!(opt .flag & MM_F_FRAG_MODE )) {
416419 for (i = o .ind + 1 ; i < argc ; ++ i ) {
You can’t perform that action at this time.
0 commit comments