Merge branch 'rs/daemon-plug-child-leak' into maint
commitb8f5242592146c85c2e09fd9721e522ce4dd32e5
authorJunio C Hamano <gitster@pobox.com>
Thu, 5 Nov 2015 20:18:16 +0000 (5 12:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Nov 2015 20:18:17 +0000 (5 12:18 -0800)
treeef6940721a58a3b0c747a4e756dfc80e8a48756a
parentdb43891ce60d0f713a41cfc46097262c73aa99d7
parentb1b49ff8d42a21ade6a72b40a147fd3eaff3db8d
Merge branch 'rs/daemon-plug-child-leak' into maint

"git daemon" uses "run_command()" without "finish_command()", so it
needs to release resources itself, which it forgot to do.

* rs/daemon-plug-child-leak:
  daemon: plug memory leak
  run-command: factor out child_process_clear()
daemon.c
run-command.c
run-command.h