summaryrefslogtreecommitdiff
path: root/builtin/checkout.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2015-03-21 00:28:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-23 18:12:58 (GMT)
commitf0b1f1ece71a2bcf99e5890757ee0e41490ec7e0 (patch)
tree3d5b6d5108d97c124d2506a8939cea0e111be784 /builtin/checkout.c
parent1b7cb8969cb204b64b9f8ce25c86986e8144d352 (diff)
downloadgit-f0b1f1ece71a2bcf99e5890757ee0e41490ec7e0.zip
git-f0b1f1ece71a2bcf99e5890757ee0e41490ec7e0.tar.gz
git-f0b1f1ece71a2bcf99e5890757ee0e41490ec7e0.tar.bz2
builtin/apply.c: fix a memleak
oldlines is allocated earlier in the function and also freed on the successful code path. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/checkout.c')
0 files changed, 0 insertions, 0 deletions