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)
commitdf3b1192650c6753932a0897c4608fcc22ca8d47
tree25617fa7ac42ab4b05f5064a4c8f97ef63e5235e
parenteb3af74e93953df7917dca43d264ac8d1fb85671
parent7861fa07c38d72a4fa6ae2e802553b8b0f3731d4
Merge branch 'ab/grep-plug-pathspec-leak'

Call clear_pathspec() to release resources immediately before the
cmd_grep() function returns.

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