From be7e134d8e42402de0f205d5c14f8bd76bad461d Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 23 Feb 2011 18:14:11 +0000 Subject: [PATCH] Remember to free the result of getaddrinfo() in the new sendto_kdc code. ticket: 6868 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24651 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/sendto_kdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index 242dcb54f..5e059a59e 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.c @@ -694,6 +694,7 @@ resolve_server(krb5_context context, const struct serverlist *servers, retval = add_connection(conns, a, ind, message, udpbufp); } } + freeaddrinfo(addrs); return retval; } -- 2.26.2