svn rev #24651: trunk/src/lib/krb5/os/

ghudson@MIT.EDU ghudson at MIT.EDU
Wed Feb 23 13:14:11 EST 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24651
Commit By: ghudson
Log Message:
ticket: 6868

Remember to free the result of getaddrinfo() in the new sendto_kdc
code.



Changed Files:
U   trunk/src/lib/krb5/os/sendto_kdc.c
Modified: trunk/src/lib/krb5/os/sendto_kdc.c
===================================================================
--- trunk/src/lib/krb5/os/sendto_kdc.c	2011-02-23 11:38:33 UTC (rev 24650)
+++ trunk/src/lib/krb5/os/sendto_kdc.c	2011-02-23 18:14:11 UTC (rev 24651)
@@ -694,6 +694,7 @@
             retval = add_connection(conns, a, ind, message, udpbufp);
         }
     }
+    freeaddrinfo(addrs);
     return retval;
 }
 




More information about the cvs-krb5 mailing list