[ofa-general] [PATCH 4/6] [DAPL v2] fix memory leak
Patrick Marchand Latifi
patrick.latifi at qlogic.com
Tue Feb 19 03:19:32 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 7ca5dba..a780a98 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