diff options
author | 2016-06-20 21:11:45 +0800 | |
---|---|---|
committer | 2016-06-23 14:15:24 +0200 | |
commit | 6cafaf4764a32597c2195aa5411b87728e1fde8a (patch) | |
tree | 4d072f4a097bc572a3eb971923a3d73a81f695fb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'mlx4-fixes' (diff) | |
download | wireguard-linux-6cafaf4764a32597c2195aa5411b87728e1fde8a.tar.xz wireguard-linux-6cafaf4764a32597c2195aa5411b87728e1fde8a.zip |
netfilter: nf_tables: fix memory leak if expr init fails
If expr init fails then we need to free it.
So when the user add a nft rule as follows:
# nft add rule filter input tcp dport 22 flow table ssh \
{ ip saddr limit rate 0/second }
memory leak will happen.
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions