summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-16 06:01:18 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-16 06:01:18 +0000
commit8955ed34aa9529eeeade71b5566e9dd6882ee969 (patch)
tree818e30056f88aa130d620b274248f74e89bcdfbd /lib-src
parent57b42f1f7010cca5fafda72d1a5a5aa7092222ee (diff)
downloademacs-8955ed34aa9529eeeade71b5566e9dd6882ee969.tar.gz
(socket_connection): Free realhost after using it.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/pop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c
index c4d4c26e5ef..9292998e288 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -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);