RE: [PATCH] common/mlx5: fix memory leak in Windows dereg MR function

2021-11-17 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Wednesday, November 17, 2021 1:03 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Michael > Baum ; sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix memory leak in Win

[PATCH] common/mlx5: fix memory leak in Windows dereg MR function

2021-11-17 Thread michaelba
From: Michael Baum The "mlx5_devx_cmd_mkey_create" DevX cmd allocates DevX object using mlx5_malloc and then creates MKey using glue function. Compatibly, "mlx5_devx_cmd_destroy" cmd releases first the MKey using glue function, and then free the DevX object using mlx5_free. On Windows OS, the re