]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft-shared: Use xtables_calloc()
authorPhil Sutter <phil@nwl.cc>
Mon, 24 Sep 2018 17:25:26 +0000 (19:25 +0200)
committerFlorian Westphal <fw@strlen.de>
Tue, 25 Sep 2018 14:26:34 +0000 (16:26 +0200)
commitb373a91b24c4bb1074f304bc74ce2f361c818a5a
tree7d3f83d749203fd71ab32348bbcea86f90006f0a
parent5a4096158261896b9e61837cdb2c081e372e286d
nft-shared: Use xtables_calloc()

This simplifies code a bit since it takes care of checking for
out-of-memory conditions.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/nft-shared.c