projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add wget -P support, finishing off bug #1176
[oweals/busybox.git]
/
grep.c
diff --git
a/grep.c
b/grep.c
index fb7df24cfeba920d9796cecbf3a5326acfc88471..03cc9f836dbed6cb80cd55d5979e9271f7708976 100644
(file)
--- 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