aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-19 10:36:20 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-19 10:36:20 +0000
commit43626d7671cf1b4c7adac777d421ad784a400422 (patch)
tree56624264fa977ec9d00510ab3b0616797ae4b445
parentcc05ce64e94950c7a8293557086d6d4efad41e29 (diff)
downloadbusybox-43626d7671cf1b4c7adac777d421ad784a400422.tar.gz
Fixup CLEANUP behavior
-rw-r--r--findutils/grep.c2
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(&regexes[nregexes]);
- free(&regexes[nregexes]);
}
+ free(regexes);
}
#endif