Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netfilter: nfnetlink_acct: Fix memory leak
Allocation of memory need only to happen once, that is after the proper checks on the NFACCT_FLAGS have been done. Otherwise the code can return without freeing already allocated memory. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
- Loading branch information