diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-11-19 13:36:20 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-11-19 13:36:20 +0300 |
commit | 43626d7671cf1b4c7adac777d421ad784a400422 (patch) | |
tree | 56624264fa977ec9d00510ab3b0616797ae4b445 /findutils | |
parent | cc05ce64e94950c7a8293557086d6d4efad41e29 (diff) |
Fixup CLEANUP behavior
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/grep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 48329e135..b98b724ac 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -224,8 +224,8 @@ static void destroy_regexes() /* destroy all the elments in the array */ while (--nregexes >= 0) { regfree(®exes[nregexes]); - free(®exes[nregexes]); } + free(regexes); } #endif |