From: Theodore Tso Date: Fri, 1 Mar 1996 05:04:16 +0000 (+0000) Subject: Add closeoscket() call so that program properly cleans up the socket X-Git-Tag: krb5-1.0-beta6~421 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f65cb2ab1085c32d1f77a1c113826fe1e067d62e;p=krb5.git Add closeoscket() call so that program properly cleans up the socket git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7579 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/windows/gss/changelo b/src/windows/gss/changelo index aa59ceea9..72ffb123e 100644 --- a/src/windows/gss/changelo +++ b/src/windows/gss/changelo @@ -1,3 +1,8 @@ +Thu Feb 29 13:25:07 1996 Theodore Y. Ts'o + + * gss.c: Add closeoscket() call so that program properly + cleans up the socket. + Thu Feb 29 01:23:01 1996 Theodore Y. Ts'o * gss.rc: diff --git a/src/windows/gss/gss-clie.c b/src/windows/gss/gss-clie.c index 3a6c34266..1dc4d8054 100644 --- a/src/windows/gss/gss-clie.c +++ b/src/windows/gss/gss-clie.c @@ -123,6 +123,8 @@ call_server (char *host, u_short port, char *service_name, char *msg) return -1; } (void) gss_release_buffer(&min_stat, &out_buf); + + closesocket(s); return 0; }