aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-12-16 06:01:18 +0000
committerRichard M. Stallman1996-12-16 06:01:18 +0000
commit6a7eabe0c65144f10b60ffe3f7c7709846641689 (patch)
treedae7b41982ee6dddd120d4a116a34d55db98fdaa
parent94bec52a5591c12182f402d24c8702dd6023eeb0 (diff)
downloademacs-6a7eabe0c65144f10b60ffe3f7c7709846641689.tar.gz
emacs-6a7eabe0c65144f10b60ffe3f7c7709846641689.zip
(socket_connection): Free realhost after using it.
-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)
1184 (struct sockaddr_in *) 0, 1184 (struct sockaddr_in *) 0,
1185 "KPOPV0.1"); 1185 "KPOPV0.1");
1186 free ((char *) ticket); 1186 free ((char *) ticket);
1187 free (realhost);
1187 if (rem != KSUCCESS) 1188 if (rem != KSUCCESS)
1188 { 1189 {
1189 strcpy (pop_error, KRB_ERROR); 1190 strcpy (pop_error, KRB_ERROR);