[ofa-general] [PATCH 2/6] [DAPL v1] fix memory leak
Patrick Marchand Latifi
patrick.latifi at qlogic.com
Tue Feb 19 03:17:14 PST 2008
Fix memory leak
Signed-off-by: Patrick Marchand Latifi <patrick.latifi at qlogic.com>
---
test/dtest/dtest.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/test/dtest/dtest.c b/test/dtest/dtest.c
index 4264e9b..2db141f 100755
--- a/test/dtest/dtest.c
+++ b/test/dtest/dtest.c
@@ -750,6 +750,7 @@ connect_ep( char *hostname, int conn_id )
inet_ntoa(((struct sockaddr_in *)target->ai_addr)->sin_addr));
remote_addr = *((DAT_IA_ADDRESS_PTR)target->ai_addr);
+ freeaddrinfo(target);
LOGPRINTF("%d Connecting to server\n",getpid());
ret = dat_ep_connect( h_ep,
More information about the general
mailing list