Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: stop leaking line strings with -f
[gitweb.git]
/
grep.h
diff --git
a/grep.h
b/grep.h
index cd055cdfa8cac903382d592f1ec7e2a22bf7f897..5b083affe13da91614a32107032d3f42096568e8 100644
(file)
--- a/
grep.h
+++ b/
grep.h
@@
-35,7
+35,7
@@
struct grep_pat {
const char *origin;
int no;
enum grep_pat_token token;
- c
onst c
har *pattern;
+ char *pattern;
size_t patternlen;
enum grep_header_field field;
regex_t regexp;