diff options
| author | Lars Ingebrigtsen | 2016-02-01 01:10:57 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-01 01:10:57 +0100 |
| commit | 8858b2ce88bec90932c06de60b76584352f73bd6 (patch) | |
| tree | 97db153e2b5543cbaf1ba012d31ccd74d013454a /src | |
| parent | 4ff81f8fac1270a829bb2725911bf6b614711257 (diff) | |
| download | emacs-8858b2ce88bec90932c06de60b76584352f73bd6.tar.gz emacs-8858b2ce88bec90932c06de60b76584352f73bd6.zip | |
Fix GC problem in async TLS connection
* process.h: All Lisp_Object slots have to come first,
otherwise they won't be protected from gc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.h b/src/process.h index 95c64fa73b7..828330ba9df 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -106,6 +106,7 @@ struct Lisp_Process | |||
| 106 | 106 | ||
| 107 | #ifdef HAVE_GNUTLS | 107 | #ifdef HAVE_GNUTLS |
| 108 | Lisp_Object gnutls_cred_type; | 108 | Lisp_Object gnutls_cred_type; |
| 109 | Lisp_Object gnutls_async_parameters; | ||
| 109 | #endif | 110 | #endif |
| 110 | 111 | ||
| 111 | /* Pipe process attached to the standard error of this process. */ | 112 | /* Pipe process attached to the standard error of this process. */ |
| @@ -191,7 +192,6 @@ struct Lisp_Process | |||
| 191 | unsigned int gnutls_extra_peer_verification; | 192 | unsigned int gnutls_extra_peer_verification; |
| 192 | int gnutls_log_level; | 193 | int gnutls_log_level; |
| 193 | int gnutls_handshakes_tried; | 194 | int gnutls_handshakes_tried; |
| 194 | Lisp_Object gnutls_async_parameters; | ||
| 195 | bool_bf gnutls_p : 1; | 195 | bool_bf gnutls_p : 1; |
| 196 | #endif | 196 | #endif |
| 197 | }; | 197 | }; |