diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-09-04 09:34:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-04 13:07:00 +0100 |
commit | ecbd690b52dc11e3ef96139d4cfce53b1191b8a7 (patch) | |
tree | ee4c16101eaa1806c7d4f234d9a29feb29ba24f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d863ca67bb6e40b7653e25f3787994281b8c2e58 (diff) |
octeontx2-af: Fix some memory leaks in the error handling path of 'cgx_lmac_init()'
Memory allocated before 'lmac' is stored in 'cgx->lmac_idmap[]' must be
freed explicitly. Otherwise, in case of error, it will leak.
Rename the 'err_irq' label to better describe what is done at this place in
the error handling path.
Fixes: 6f14078e3ee5 ("octeontx2-af: DMAC filter support in MAC block")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions