diff options
author | René Scharfe <l.s.r@web.de> | 2014-10-11 13:00:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-13 11:50:20 -0700 |
commit | 64a7e92f28e9bc053cf68d9b2e9ce4fb40e60e98 (patch) | |
tree | 22501188a5530bc4cc21c7ce0ece8e7de14b7572 /reachable.h | |
parent | Merge branch 'maint-1.9' into maint-2.0 (diff) | |
download | tgif-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 'reachable.h')
0 files changed, 0 insertions, 0 deletions