summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-27 16:27:10 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-27 16:27:10 -0700
commitb48fb5b6a950a6757b790e9160967065a3e03978 (patch)
tree7ba2dda07f7bd01000f2c198b15bc8f6174998c1 /grep.h
parent209e7569313aa045da6d55e333c884e49e7d8fb2 (diff)
downloadgit-b48fb5b6a950a6757b790e9160967065a3e03978.tar.gz
grep: free expressions and patterns when done.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'grep.h')
-rw-r--r--grep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/grep.h b/grep.h
index 0b503ea665..af9098cfe8 100644
--- a/grep.h
+++ b/grep.h
@@ -73,6 +73,7 @@ struct grep_opt {
extern void append_grep_pattern(struct grep_opt *opt, const char *pat, const char *origin, int no, enum grep_pat_token t);
extern void compile_grep_patterns(struct grep_opt *opt);
+extern void free_grep_patterns(struct grep_opt *opt);
extern int grep_buffer(struct grep_opt *opt, const char *name, char *buf, unsigned long size);
#endif