diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-19 11:45:39 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-19 11:45:39 +0000 |
commit | 9c397014a042b337f601e068a792d1f885d58c3c (patch) | |
tree | 86abe76230c2baf42c501f9bdc49beebdef224b8 /findutils/grep.c | |
parent | 2a1e33eeca420fb0dbce842531dd9bdb165318f2 (diff) | |
download | busybox-w32-9c397014a042b337f601e068a792d1f885d58c3c.tar.gz busybox-w32-9c397014a042b337f601e068a792d1f885d58c3c.tar.bz2 busybox-w32-9c397014a042b337f601e068a792d1f885d58c3c.zip |
oops
git-svn-id: svn://busybox.net/trunk/busybox@3714 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 7c1e0f60d..d39dac140 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -216,14 +216,14 @@ static void load_regexes_from_file(const char *filename) | |||
216 | 216 | ||
217 | 217 | ||
218 | #ifdef CONFIG_FEATURE_CLEAN_UP | 218 | #ifdef CONFIG_FEATURE_CLEAN_UP |
219 | static void destroy_regexes() | 219 | static void destroy_regexes(void) |
220 | { | 220 | { |
221 | if (regexes == NULL) | 221 | if (regexes == NULL) |
222 | return; | 222 | return; |
223 | 223 | ||
224 | /* destroy all the elments in the array */ | 224 | /* destroy all the elments in the array */ |
225 | while (--nregexes >= 0) { | 225 | while (--nregexes >= 0) { |
226 | regfree(regexes[nregexes]); | 226 | regfree(&(regexes[nregexes])); |
227 | } | 227 | } |
228 | if (regexes) | 228 | if (regexes) |
229 | free(regexes); | 229 | free(regexes); |