summaryrefslogtreecommitdiff
path: root/builtin/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/grep.c')
-rw-r--r--builtin/grep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/grep.c b/builtin/grep.c
index ccd8d08f3d..5de725f904 100644
--- a/builtin/grep.c
+++ b/builtin/grep.c
@@ -1181,6 +1181,5 @@ 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;
}