diff options
| author | Zhipeng Lu <[email protected]> | 2024-02-01 20:47:13 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-03 12:48:20 +0000 |
| commit | b09b58e31b0f43d76f79b9943da3fb7c2843dcbb (patch) | |
| tree | 43040dc60f8786bd9ea0dc3dd561ef36963a9685 /lib/crypto/mpi/mpi-bit.c | |
| parent | f3616173bf9be9bf39d131b120d6eea4e6324cb5 (diff) | |
octeontx2-pf: Fix a memleak otx2_sq_init
When qmem_alloc and pfvf->hw_ops->sq_aq_init fails, sq->sg should be
freed to prevent memleak.
Fixes: c9c12d339d93 ("octeontx2-pf: Add support for PTP clock")
Signed-off-by: Zhipeng Lu <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions