[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.165.2.1,1.165.2.2

Guido van Rossum gvanrossum@users.sourceforge.net
2001年8月20日 20:24:07 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv1570/branch/Modules
Modified Files:
 Tag: r22a2-branch
	socketmodule.c 
Log Message:
Merge trunk->branch
Index: socketmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.165.2.1
retrieving revision 1.165.2.2
diff -C2 -d -r1.165.2.1 -r1.165.2.2
*** socketmodule.c	2001年08月20日 19:48:32	1.165.2.1
--- socketmodule.c	2001年08月21日 03:24:05	1.165.2.2
***************
*** 2628,2633 ****
 	if (self->server_cert)	/* Possible not to have one? */
 		X509_free (self->server_cert);
- 	SSL_CTX_free(self->ctx);
 	SSL_free(self->ssl);
 	Py_XDECREF(self->x_attr);
 	Py_XDECREF(self->Socket);
--- 2628,2633 ----
 	if (self->server_cert)	/* Possible not to have one? */
 		X509_free (self->server_cert);
 	SSL_free(self->ssl);
+ 	SSL_CTX_free(self->ctx);
 	Py_XDECREF(self->x_attr);
 	Py_XDECREF(self->Socket);

AltStyle によって変換されたページ (->オリジナル) /