]> thyrsus.com Git - comparator.git/commitdiff
Forgo free in order to make collapse_ranges run faster.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 12 Sep 2003 01:59:05 +0000 (01:59 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 12 Sep 2003 01:59:05 +0000 (01:59 +0000)
report.c

index f67c1b580204f0bf223f6a384c740b567c402ab8..27774ad5fe5ff73a81747af4148dc41b663c1d1a 100644 (file)
--- a/report.c
+++ b/report.c
@@ -153,7 +153,7 @@ static int collapse_ranges(struct match_t *reduced, int nonuniques)
                 for (rp=sp->matches; rp < sp->matches+sp->nmatches; rp++)
                     printf("%s:%d:%d\n",  rp->file, rp->start, rp->end);
 #endif /* DEBUG */
-                free(tp->matches);
+                /* free(tp->matches); */
                 nonuniques--;
                 tp->matches = NULL;
             }