commit | 43626d7671cf1b4c7adac777d421ad784a400422 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Mon Nov 19 10:36:20 2001 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Mon Nov 19 10:36:20 2001 +0000 |
tree | 56624264fa977ec9d00510ab3b0616797ae4b445 | |
parent | cc05ce64e94950c7a8293557086d6d4efad41e29 [diff] |
Fixup CLEANUP behavior
diff --git a/findutils/grep.c b/findutils/grep.c index 48329e1..b98b724 100644 --- a/findutils/grep.c +++ b/findutils/grep.c
@@ -224,8 +224,8 @@ /* destroy all the elments in the array */ while (--nregexes >= 0) { regfree(®exes[nregexes]); - free(®exes[nregexes]); } + free(regexes); } #endif