diff options
| author | Chong Yidong | 2011-10-27 14:07:09 +0800 |
|---|---|---|
| committer | Chong Yidong | 2011-10-27 14:07:09 +0800 |
| commit | 9c6c6f495b8469ca5e105f5ddb02a69d1303a106 (patch) | |
| tree | 0858a59fdd543e7dca46fb6a3ab495c21c417f07 /src/ChangeLog | |
| parent | 15de15c66d96905aa21f1781861067eebd68b24b (diff) | |
| download | emacs-9c6c6f495b8469ca5e105f5ddb02a69d1303a106.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3caecf32049..65995d0ac92 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2011-10-27 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * gnutls.c (emacs_gnutls_deinit): New function. Deallocate | ||
| 4 | credentials structures as well as calling gnutls_deinit. | ||
| 5 | (Fgnutls_deinit, Fgnutls_boot): Use it. | ||
| 6 | |||
| 7 | * process.c (make_process): Initialize GnuTLS credentials to NULL. | ||
| 8 | (deactivate_process): Call emacs_gnutls_deinit. | ||
| 9 | |||
| 1 | 2011-10-27 Juanma Barranquero <lekktu@gmail.com> | 10 | 2011-10-27 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 11 | ||
| 3 | * image.c (x_create_x_image_and_pixmap): | 12 | * image.c (x_create_x_image_and_pixmap): |