[ofa-general] [PATCH 4/6] [DAPL v1] fix memory leak
Patrick Marchand Latifi
patrick.latifi at qlogic.com
Tue Feb 19 03:17:24 PST 2008
Fix memory leak.
Signed-off-by: Patrick Marchand Latifi <patrick.latifi at qlogic.com>
---
dapl/common/dapl_ia_open.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dapl/common/dapl_ia_open.c b/dapl/common/dapl_ia_open.c
index d3d0ed0..cf15f61 100644
--- a/dapl/common/dapl_ia_open.c
+++ b/dapl/common/dapl_ia_open.c
@@ -420,6 +420,7 @@ dapli_assign_hca_ip_address (
else
{
hca_ptr->hca_address = * ((DAT_SOCK_ADDR6 *)addr->ai_addr);
+ dapls_osd_freeaddrinfo (addr);
}
}
More information about the general
mailing list