netfilter: nf_tables: fix leaks in error path of nf_tables_newchain()
commit f5553c19 upstream. Release statistics and module refcount on memory allocation problems. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Showing
Please register or sign in to comment