aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2001-11-19 10:36:20 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2001-11-19 10:36:20 +0000
commit43626d7671cf1b4c7adac777d421ad784a400422 (patch)
tree56624264fa977ec9d00510ab3b0616797ae4b445 /findutils
parentcc05ce64e94950c7a8293557086d6d4efad41e29 (diff)
downloadbusybox-43626d7671cf1b4c7adac777d421ad784a400422.tar.gz
busybox-43626d7671cf1b4c7adac777d421ad784a400422.tar.bz2
Fixup CLEANUP behavior
Diffstat (limited to 'findutils')
-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