]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-translate: Use proper clear_cs function
authorPhil Sutter <phil@nwl.cc>
Tue, 16 Jun 2020 11:06:26 +0000 (13:06 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 16 Jun 2020 14:30:16 +0000 (16:30 +0200)
commit63fa2b1cb98be66990912d7eb42eab5440437087
tree89fad9819317998c8b68fd20840508f50b34f207
parent2757c0b5e5fbbf569695469b331453cecefdf069
xtables-translate: Use proper clear_cs function

Avoid memleaks by performing a full free of any allocated data in local
iptables_command_state variable.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/xtables-translate.c