Merge branch 'ab/grep-plug-pathspec-leak' into next
authorJunio C Hamano <gitster@pobox.com>
Wed, 19 Apr 2017 05:36:32 +0000 (22:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Apr 2017 05:36:32 +0000 (22:36 -0700)
commitd8f00b5e44de6c9707507270e2e4ca1f6218b2af
tree4b9d510e7394766b52aba203f92aa4b3228e415a
parent25b05ec29e58490835c927fe30c453b30df2666d
parent7861fa07c38d72a4fa6ae2e802553b8b0f3731d4
Merge branch 'ab/grep-plug-pathspec-leak' into next

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