aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2011-10-27 11:20:24 -0700
committerPaul Eggert2011-10-27 11:20:24 -0700
commit929bb973dd3faf1655f03ac758942d5b009354ad (patch)
tree56f50bd1940eae6c9aafc5a719584a355818dcbe /src/process.c
parentdde1458174882077ca799d03f0adea91286650a3 (diff)
parent87e68db4734d89bab693744ad210560da0c20a87 (diff)
downloademacs-929bb973dd3faf1655f03ac758942d5b009354ad.tar.gz
emacs-929bb973dd3faf1655f03ac758942d5b009354ad.zip
Merge from trunk.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index f04f4611ab7..716e74758c4 100644
--- a/src/process.c
+++ b/src/process.c
@@ -642,6 +642,9 @@ make_process (Lisp_Object name)
642 p->gnutls_initstage = GNUTLS_STAGE_EMPTY; 642 p->gnutls_initstage = GNUTLS_STAGE_EMPTY;
643 p->gnutls_log_level = 0; 643 p->gnutls_log_level = 0;
644 p->gnutls_p = 0; 644 p->gnutls_p = 0;
645 p->gnutls_state = NULL;
646 p->gnutls_x509_cred = NULL;
647 p->gnutls_anon_cred = NULL;
645#endif 648#endif
646 649
647 /* If name is already in use, modify it until it is unused. */ 650 /* If name is already in use, modify it until it is unused. */
@@ -3863,6 +3866,11 @@ deactivate_process (Lisp_Object proc)
3863 register int inchannel, outchannel; 3866 register int inchannel, outchannel;
3864 register struct Lisp_Process *p = XPROCESS (proc); 3867 register struct Lisp_Process *p = XPROCESS (proc);
3865 3868
3869#ifdef HAVE_GNUTLS
3870 /* Delete GnuTLS structures in PROC, if any. */
3871 emacs_gnutls_deinit (proc);
3872#endif /* HAVE_GNUTLS */
3873
3866 inchannel = p->infd; 3874 inchannel = p->infd;
3867 outchannel = p->outfd; 3875 outchannel = p->outfd;
3868 3876