cfgfile: use calloc
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 18 Jul 2019 17:18:12 +0000 (10:18 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 18 Jul 2019 22:48:43 +0000 (00:48 +0200)
commit8570a88d42bf4daaf296e518966a0c21fe26eef2
treef319d651da6029ad368b89ff8c4bedf9fdb8487c
parent0cfffed310c30fcd9dcc837349677f4d2976270e
cfgfile: use calloc

Better to use calloc when allocating arrays.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_cfgfile/rte_cfgfile.c