From: Ezra Peisach Date: Wed, 18 Oct 2006 02:51:55 +0000 (+0000) Subject: Call freeaddrinfo at end - memory leak X-Git-Tag: krb5-1.6-alpha1~38 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=902a899658e5f6d2e9052bd5d57d7ebb9287c6a8;p=krb5.git Call freeaddrinfo at end - memory leak git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18724 dc483132-0cff-0310-8789-dd5450dbe970 --- 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; }