diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-19 10:36:20 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-19 10:36:20 +0000 |
commit | 449c0cfa595469e7961c8d04d667ef20aa75490a (patch) | |
tree | 56624264fa977ec9d00510ab3b0616797ae4b445 /findutils/grep.c | |
parent | 862fff4b7e5595c4959cab09382771558f0ddbca (diff) | |
download | busybox-w32-449c0cfa595469e7961c8d04d667ef20aa75490a.tar.gz busybox-w32-449c0cfa595469e7961c8d04d667ef20aa75490a.tar.bz2 busybox-w32-449c0cfa595469e7961c8d04d667ef20aa75490a.zip |
Fixup CLEANUP behavior
git-svn-id: svn://busybox.net/trunk/busybox@3709 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/grep.c')
-rw-r--r-- | findutils/grep.c | 2 |
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() | |||
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(®exes[nregexes]); | 226 | regfree(®exes[nregexes]); |
227 | free(®exes[nregexes]); | ||
228 | } | 227 | } |
228 | free(regexes); | ||
229 | } | 229 | } |
230 | #endif | 230 | #endif |
231 | 231 | ||