From: Eric S. Raymond Date: Fri, 12 Sep 2003 01:59:05 +0000 (+0000) Subject: Forgo free in order to make collapse_ranges run faster. X-Git-Tag: 1.3~7 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=3406ac1d4fbaf2c8808d09f003bb9f1ef6bd2147;p=comparator.git Forgo free in order to make collapse_ranges run faster. --- diff --git a/report.c b/report.c index f67c1b5..27774ad 100644 --- 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; }