[ofa-general] [PATCH] Fixed memory leak in drivers/net/mlx4/main.c
Nicolas Morey-Chaisemartin
nicolas.morey-chaisemartin at ext.bull.net
Mon Jun 8 01:52:19 PDT 2009
Signed-off-by: Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin at ext.bull.net>
---
This patch made it into linux mainstream but seems to have bit lost in the ofed 1.5 branch.
drivers/net/mlx4/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index 102bac9..30bea96 100644
--- a/drivers/net/mlx4/main.c
+++ b/drivers/net/mlx4/main.c
@@ -976,7 +976,7 @@ static void mlx4_enable_msi_x(struct mlx4_dev *dev)
nreq = err;
goto retry;
}
-
+ kfree(entries);
goto no_msi;
}
--
1.6.3.1
More information about the general
mailing list