From 902a899658e5f6d2e9052bd5d57d7ebb9287c6a8 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 18 Oct 2006 02:51:55 +0000 Subject: [PATCH] Call freeaddrinfo at end - memory leak git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18724 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/resolve/addrinfo-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/resolve/addrinfo-test.c b/src/tests/resolve/addrinfo-test.c index 1aa30602c..10394e7ae 100644 --- a/src/tests/resolve/addrinfo-test.c +++ b/src/tests/resolve/addrinfo-test.c @@ -298,5 +298,6 @@ int main (int argc, char *argv[]) else printf("\tgetnameinfo => %s, %s\n", hbuf, pbuf); } + freeaddrinfo(ap); return 0; } -- 2.26.2