diff options
author | Chong Yidong <cyd@gnu.org> | 2011-10-27 14:07:09 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2011-10-27 14:07:09 +0800 |
commit | 9c6c6f495b8469ca5e105f5ddb02a69d1303a106 (patch) | |
tree | 0858a59fdd543e7dca46fb6a3ab495c21c417f07 /lisp/emacs-lisp | |
parent | 15de15c66d96905aa21f1781861067eebd68b24b (diff) | |
download | emacs-9c6c6f495b8469ca5e105f5ddb02a69d1303a106.tar.gz emacs-9c6c6f495b8469ca5e105f5ddb02a69d1303a106.tar.bz2 emacs-9c6c6f495b8469ca5e105f5ddb02a69d1303a106.zip |
Fix a memory leak in the built-in GnuTLS support.
* src/gnutls.c (emacs_gnutls_deinit): New function. Deallocate
credentials structures as well as calling gnutls_deinit.
(Fgnutls_deinit, Fgnutls_boot): Use it.
* src/process.c (make_process): Initialize GnuTLS credentials to NULL.
(deactivate_process): Call emacs_gnutls_deinit.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions