diff options
| author | Junio C Hamano <junkio@cox.net> | 2006-09-27 16:27:10 -0700 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2006-09-27 16:27:10 -0700 |
| commit | b48fb5b6a950a6757b790e9160967065a3e03978 (patch) | |
| tree | 7ba2dda07f7bd01000f2c198b15bc8f6174998c1 /grep.h | |
| parent | 209e7569313aa045da6d55e333c884e49e7d8fb2 (diff) | |
| download | git-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
