diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2014-02-21 06:47:47 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 09:07:12 -0800 |
commit | 019d1e65f5bc715a40b1cd77852af0a649753c56 (patch) | |
tree | d87eb6eb268177c6843964167a26a9f8d886f890 /commit.c | |
parent | abe601bba52ee6b0bf89d282aa1c3ef5fd89cbb0 (diff) | |
download | git-019d1e65f5bc715a40b1cd77852af0a649753c56.tar.gz |
sha1_file: fix delta_stack memory leak in unpack_entrynd/sha1-file-delta-stack-leakage-fix
This delta_stack array can grow to any length depending on the actual
delta chain, but we forget to free it. Normally it does not matter
because we use small_delta_stack[] from stack and small_delta_stack
can hold 64-delta chains, more than standard --depth=50 in pack-objects.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions