aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-29 22:36:39 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-29 22:36:39 +0000
commit86f0167e399f6f9a201e3d5294dc7e0a8c78c585 (patch)
tree8645e47680d8812eeb784db7200ead265bc6439c /findutils/grep.c
parent6e9e136fcbd1883cf8a29d87b3825398587a3860 (diff)
downloadbusybox-w32-86f0167e399f6f9a201e3d5294dc7e0a8c78c585.tar.gz
busybox-w32-86f0167e399f6f9a201e3d5294dc7e0a8c78c585.tar.bz2
busybox-w32-86f0167e399f6f9a201e3d5294dc7e0a8c78c585.zip
grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index fb7df24cf..03cc9f836 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -221,8 +221,8 @@ static void destroy_regexes()
221 221
222 /* destroy all the elments in the array */ 222 /* destroy all the elments in the array */
223 while (--nregexes >= 0) { 223 while (--nregexes >= 0) {
224 regfree(regexes[nregexes]); 224 regfree(&regexes[nregexes]);
225 free(regexes[nregexes]); 225 free(&regexes[nregexes]);
226 } 226 }
227} 227}
228#endif 228#endif