diff options
author | Eric Andersen | 2001-11-19 10:36:20 +0000 |
---|---|---|
committer | Eric Andersen | 2001-11-19 10:36:20 +0000 |
commit | 43626d7671cf1b4c7adac777d421ad784a400422 (patch) | |
tree | 56624264fa977ec9d00510ab3b0616797ae4b445 /findutils | |
parent | cc05ce64e94950c7a8293557086d6d4efad41e29 (diff) | |
download | busybox-43626d7671cf1b4c7adac777d421ad784a400422.zip busybox-43626d7671cf1b4c7adac777d421ad784a400422.tar.gz |
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 48329e1..b98b724 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 |