]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix GC problem in async TLS connection
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Feb 2016 00:10:57 +0000 (01:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 1 Feb 2016 00:10:57 +0000 (01:10 +0100)
* process.h: All Lisp_Object slots have to come first,
otherwise they won't be protected from gc.

src/process.h

index 95c64fa73b70cd61ee6cd51fdbaa3f40406b2f8f..828330ba9df6575b86c29f00e4e4f1d537f70dd2 100644 (file)
@@ -106,6 +106,7 @@ struct Lisp_Process
 
 #ifdef HAVE_GNUTLS
     Lisp_Object gnutls_cred_type;
+    Lisp_Object gnutls_async_parameters;
 #endif
 
     /* Pipe process attached to the standard error of this process.  */
@@ -191,7 +192,6 @@ struct Lisp_Process
     unsigned int gnutls_extra_peer_verification;
     int gnutls_log_level;
     int gnutls_handshakes_tried;
-    Lisp_Object gnutls_async_parameters;
     bool_bf gnutls_p : 1;
 #endif
 };