OSDN Git Service
(root)
/
android-x86
/
external-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
48329e1
..
b98b724
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