diff options
author | Ezra Peisach <epeisach@mit.edu> | 2006-10-18 02:51:55 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2006-10-18 02:51:55 +0000 |
commit | 902a899658e5f6d2e9052bd5d57d7ebb9287c6a8 (patch) | |
tree | 5e9f7f93c4c94974b4252b59e3af16233ccb7851 | |
parent | fd22e13e835d6d1a5fdd04408844a16a4e807ed2 (diff) | |
download | krb5-902a899658e5f6d2e9052bd5d57d7ebb9287c6a8.tar.gz krb5-902a899658e5f6d2e9052bd5d57d7ebb9287c6a8.tar.xz krb5-902a899658e5f6d2e9052bd5d57d7ebb9287c6a8.zip |
Call freeaddrinfo at end - memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18724 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/tests/resolve/addrinfo-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/resolve/addrinfo-test.c b/src/tests/resolve/addrinfo-test.c index 1aa30602c9..10394e7aec 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; } |