apply: free unused fragments for submodule patch
authorJunio C Hamano <redacted>
Thu, 29 Mar 2012 06:22:22 +0000 (23:22 -0700)
committerJunio C Hamano <redacted>
Thu, 29 Mar 2012 06:27:00 +0000 (23:27 -0700)
commit9d16c2d51412c3ebf06f88faddde3610d6e21892
tree8525381a2656fecb05f6941ffd67ddb826887d1d
parent8192a2fafcd69fe1cad2fe84c99b03c63393c117
apply: free unused fragments for submodule patch

We simply discarded the fragments that we are not going to use upon seeing
a patch to update the submodule commit bound at path that we have not
checked out.

Free these fragments, not to leak them.

Signed-off-by: Junio C Hamano <redacted>
builtin/apply.c
git clone https://git.99rst.org/PROJECT