From: Greg Hudson Date: Wed, 23 Feb 2011 18:14:11 +0000 (+0000) Subject: Remember to free the result of getaddrinfo() in the new sendto_kdc X-Git-Tag: krb5-1.10-alpha1~582 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be7e134d8e42402de0f205d5c14f8bd76bad461d;p=krb5.git 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 --- 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; }