don't remove hostlist before it has been allocated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2995 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -96,7 +96,6 @@ krb5_sendto_kdc (krb5_context context,
|
||||
port = krb5_getportbyname ("kerberos", "udp", htons(88));
|
||||
fd = socket (AF_INET, SOCK_DGRAM, 0);
|
||||
if (fd < 0) {
|
||||
krb5_free_krbhst (context, hostlist);
|
||||
return errno;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user