diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-10-23 14:43:11 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-23 14:43:11 +0900 |
commit | e0ff2d4c7ec338e30ea5e0340cda7f5fe8a187dc (patch) | |
tree | fdcd0653f52fd14b9ec433a66dafcf8765bfd500 /builtin | |
parent | Merge branch 'bc/smart-http-atomic-push' (diff) | |
parent | grep: avoid leak of chartables in PCRE2 (diff) | |
download | tgif-e0ff2d4c7ec338e30ea5e0340cda7f5fe8a187dc.tar.xz |
Merge branch 'cb/pcre2-chartables-leakfix'
Leakfix.
* cb/pcre2-chartables-leakfix:
grep: avoid leak of chartables in PCRE2
grep: make PCRE2 aware of custom allocator
grep: make PCRE1 aware of custom allocator
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/grep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/grep.c b/builtin/grep.c index 69ac053acc..50ce8d9461 100644 --- a/builtin/grep.c +++ b/builtin/grep.c @@ -1147,5 +1147,6 @@ int cmd_grep(int argc, const char **argv, const char *prefix) run_pager(&opt, prefix); clear_pathspec(&pathspec); free_grep_patterns(&opt); + grep_destroy(); return !hit; } |