Re: [PATCH 2/2] daemon: plug memory leak

2015-10-26 Thread Jeff King
On Sat, Oct 24, 2015 at 02:23:20PM +0200, René Scharfe wrote: > Call child_process_clear() when a child ends to release the memory > allocated for its environment. This is necessary because unlike all > other users of start_command() we don't call finish_command(), which > would have taken care

[PATCH 2/2] daemon: plug memory leak

2015-10-24 Thread René Scharfe
Call child_process_clear() when a child ends to release the memory allocated for its environment. This is necessary because unlike all other users of start_command() we don't call finish_command(), which would have taken care of that for us. This leak was introduced by f063d38b (daemon: use