diff options
| author | 2023-07-05 20:15:27 +0800 | |
|---|---|---|
| committer | 2023-07-26 14:31:02 -0700 | |
| commit | 5dd77585dd9d0e03dd1bceb95f0269a7eaf6b936 (patch) | |
| tree | 3a9bcc0b5f20f20f34a56e89f66f65798fb20e7d /scripts/Makefile.thinlto | |
| parent | net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups (diff) | |
net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
when mlx5_cmd_exec failed in mlx5dr_cmd_create_reformat_ctx, the memory
pointed by 'in' is not released, which will cause memory leak. Move memory
release after mlx5_cmd_exec.
Fixes: 1d9186476e12 ("net/mlx5: DR, Add direct rule command utilities")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
