projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55805bc
)
oops
author
Eric Andersen
<andersen@codepoet.org>
Mon, 19 Nov 2001 11:45:39 +0000
(11:45 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 19 Nov 2001 11:45:39 +0000
(11:45 -0000)
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index 7c1e0f60d06f7d9196807a5c7a1a641e72f1f9fd..d39dac1405cb21c905a227031a9062238edfb182 100644
(file)
--- a/
findutils/grep.c
+++ b/
findutils/grep.c
@@
-216,14
+216,14
@@
static void load_regexes_from_file(const char *filename)
#ifdef CONFIG_FEATURE_CLEAN_UP
-static void destroy_regexes()
+static void destroy_regexes(
void
)
{
if (regexes == NULL)
return;
/* destroy all the elments in the array */
while (--nregexes >= 0) {
- regfree(
regexes[nregexes]
);
+ regfree(
&(regexes[nregexes])
);
}
if (regexes)
free(regexes);