summaryrefslogtreecommitdiff
path: root/builtin/get-tar-commit-id.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2014-10-11 13:00:16 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-13 11:50:20 -0700
commit64a7e92f28e9bc053cf68d9b2e9ce4fb40e60e98 (patch)
tree22501188a5530bc4cc21c7ce0ece8e7de14b7572 /builtin/get-tar-commit-id.c
parentMerge branch 'maint-1.9' into maint-2.0 (diff)
downloadtgif-64a7e92f28e9bc053cf68d9b2e9ce4fb40e60e98.tar.xz
receive-pack: plug minor memory leak in unpack()
The argv_array used in unpack() is never freed. Instead of adding explicit calls to argv_array_clear() use the args member of struct child_process and let run_command() and friends clean up for us. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/get-tar-commit-id.c')
0 files changed, 0 insertions, 0 deletions