Merge branch 'ab/grep-plug-pathspec-leak'
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2017 04:37:21 +0000 (21:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Apr 2017 04:37:21 +0000 (21:37 -0700)
Call clear_pathspec() to release resources immediately before the
cmd_grep() function returns.

* ab/grep-plug-pathspec-leak:
  grep: plug a trivial memory leak

1  2 
builtin/grep.c

diff --cc builtin/grep.c
Simple merge