(socket_connection): Free realhost after using it.

This commit is contained in:
Richard M. Stallman 1996-12-16 06:01:18 +00:00
parent 94bec52a55
commit 6a7eabe0c6

View file

@ -1184,6 +1184,7 @@ socket_connection (host, flags)
(struct sockaddr_in *) 0,
"KPOPV0.1");
free ((char *) ticket);
free (realhost);
if (rem != KSUCCESS)
{
strcpy (pop_error, KRB_ERROR);