Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/grep.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-30 02:36:39 +0400
committerEric Andersen <andersen@codepoet.org>2001-05-30 02:36:39 +0400
commit86f0167e399f6f9a201e3d5294dc7e0a8c78c585 (patch)
tree8645e47680d8812eeb784db7200ead265bc6439c /grep.c
parent6e9e136fcbd1883cf8a29d87b3825398587a3860 (diff)
grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.
Diffstat (limited to 'grep.c')
-rw-r--r--grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grep.c b/grep.c
index fb7df24cf..03cc9f836 100644
--- a/grep.c
+++ b/grep.c
@@ -221,8 +221,8 @@ static void destroy_regexes()
/* destroy all the elments in the array */
while (--nregexes >= 0) {
- regfree(regexes[nregexes]);
- free(regexes[nregexes]);
+ regfree(&regexes[nregexes]);
+ free(&regexes[nregexes]);
}
}
#endif