In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: DR, fix memory leak in mlx5drcmdcreatereformatctx
when mlx5cmdexec failed in mlx5drcmdcreatereformatctx, the memory pointed by 'in' is not released, which will cause memory leak. Move memory release after mlx5cmdexec.