summaryrefslogtreecommitdiff
path: root/thread-utils.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2015-10-24 14:11:27 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-11-02 15:01:00 -0800
commit2d71608ec0b6d098ed7c8c914fb7004b28349995 (patch)
tree7f388e56b6831f6afb47ef5b09fa776b40ad3f00 /thread-utils.h
parentGit 2.4.10 (diff)
downloadtgif-2d71608ec0b6d098ed7c8c914fb7004b28349995.tar.xz
run-command: factor out child_process_clear()
Avoid duplication by moving the code to release allocated memory for arguments and environment to its own function, child_process_clear(). Export it to provide a counterpart to child_process_init(). Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'thread-utils.h')
0 files changed, 0 insertions, 0 deletions