diff options
author | Phil Sutter <phil@nwl.cc> | 2021-06-11 17:02:01 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-06-14 13:31:07 +0200 |
commit | c4058f96c6a55e4fcd49d4380ac07b5466ec01c0 (patch) | |
tree | 07dbd709a6c6160bacdc08dd70656d414ff77417 /src/mini-gmp.c | |
parent | 97b5d4bbcac4d3237f114c1c6a57c37968ebe0fc (diff) |
netlink_delinearize: Fix suspicious calloc() call
Parameter passed to sizeof() was wrong. While being at it, replace the
whole call with xmalloc_array() which takes care of error checking.
Fixes: 913979f882d13 ("src: add expression handler hashtable")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src/mini-gmp.c')
0 files changed, 0 insertions, 0 deletions