From 86f0167e399f6f9a201e3d5294dc7e0a8c78c585 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 29 May 2001 22:36:39 +0000 Subject: grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong. --- grep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grep.c') 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(®exes[nregexes]); + free(®exes[nregexes]); } } #endif -- cgit v1.2.3