Re: [PATCH 2/2] run-command: use ALLOC_ARRAY
- From
Stefan Beller <sbeller@google.com>
- Date
- Oct 2, 2017, 19:20 UTC
- Message-ID
- <CAGZ79kazU=JEnAAdzf-oGOMBDQaFZabxJzFOTYmhFLssrvY=BA@mail.gmail.com>
- In-Reply-To
- <6343155c-0986-06b0-8ced-146b23b8a137@web.de>
On Sun, Oct 1, 2017 at 8:14 AM, René Scharfe <l.s.r@web.de> wrote:
> Use the macro ALLOC_ARRAY to allocate an array. This is shorter and > eaasier, as it automatically infers the size of elements.
easier
Thanks, Stefan