Re: [PATCH 1/2] run-command: factor out child_process_clear()
- From
Stefan Beller <sbeller@google.com>
- Date
- Oct 26, 2015, 19:23 UTC
- Message-ID
- <CAGZ79kYopHL5D_7+bJV2P9GeKDHufPDBTo3a8bRL=4B3OmTGjg@mail.gmail.com>
- In-Reply-To
- <xmqqziz5h3n5.fsf@gitster.mtv.corp.google.com>
On Mon, Oct 26, 2015 at 11:43 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> René Scharfe <l.s.r@web.de> writes: > >> 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> >> --- > > Hmm, is this _deinit() Stefan added to his series recently?
Yes. Although you (Junio) take credit for actually using it in these places, too. :)