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:
cc05ce6
)
Fixup CLEANUP behavior
author
Eric Andersen
<andersen@codepoet.org>
Mon, 19 Nov 2001 10:36:20 +0000
(10:36 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 19 Nov 2001 10:36:20 +0000
(10:36 -0000)
findutils/grep.c
patch
|
blob
|
history
diff --git
a/findutils/grep.c
b/findutils/grep.c
index 48329e13592f69f1c2098182369ffc9de21eed42..b98b724ac8ca718b33ffc4f9a627e413fc6dd9d8 100644
(file)
--- a/
findutils/grep.c
+++ b/
findutils/grep.c
@@
-224,8
+224,8
@@
static void destroy_regexes()
/* destroy all the elments in the array */
while (--nregexes >= 0) {
regfree(®exes[nregexes]);
- free(®exes[nregexes]);
}
+ free(regexes);
}
#endif