diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-10-09 18:22:13 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2016-10-09 18:22:13 +0300 |
| commit | d5380843c63b84e550bf3cd33c70bbf626743c67 (patch) | |
| tree | 8d0637e9640a353d2c5629f8f6f5019fa743ee28 /NEWS | |
| parent | NEWS: Bump version to 0.10.0 (diff) | |
| download | guile-ssh-d5380843c63b84e550bf3cd33c70bbf626743c67.tar.gz | |
libguile-ssh: Bugfix: Fix SMOB freeing callbacks
The SMOB freeing callbacks would always fail to free any resources due to
mistaken use of 'SCM_SMOB_PREDICATE' procedure -- the procedure doesn't work
in these GC callbacks according to the documentation (see '(guile) Smobs') and
always returns 'false' as the result when used in such context.
The solution is to remove the check 'SCM_SMOB_PREDICATE' and just get the
SMOB's data.
Reported by: David Kastrup <dak@gnu.org>
Reported by: Ludovic Courtès <ludo@gnu.org>
* libguile-ssh/key-type.c, libguile-ssh/message-type.c,
libguile-ssh/server-type.c, libguile-ssh/session-type.c,
libguile-ssh/sftp-session-type.c: Bugfix: Fix SMOB freeing callbacks.
* NEWS: Update.
Diffstat (limited to 'NEWS')
| -rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,13 @@ Copyright (C) Artyom V. Poptsov <poptsov.artyom@gmail.com> are permitted in any medium without royalty provided the copyright notice and this notice are preserved. +* Unreleased +** Bugfixes +*** Fix SMOB freeing callbacks + Callbacks for many Guile-SSH objects would always fail to free allocated + resources due to wrong check added in 0.10.0. The problem should be fixed + now. + * Changes in version 0.10.0 (2016-08-20) ** Add support of Guile 2.0.12 Guile-SSH now builds (and works quite well, as far as I can see) with Guile |
