diff --git a/THANKS b/THANKS index d1731573d..42ce7bd0b 100644 --- a/THANKS +++ b/THANKS @@ -29,6 +29,7 @@ Christopher Lee Larry Schwimmer Radey Shouman Maciej Stachowiak + John Tobey Greg Troxel Bernard Urban diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 5ffc0a6a4..7fa4c004a 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,5 +1,17 @@ 1998-04-19 Mikael Djurfeldt + * dynl.c (scm_must_free_argv): Fixed memory leak due to negated + condition. (Thanks to John Tobey.) + + * continuations.c (scm_make_cont), debug.c (scm_make_memoized, + scm_make_debugobj), eval.c (scm_makprom): SCM_DEFER/ALLOW_INTS --> + A section. + + * __scm.h: Start the long-term project of moving to POSIX threads. + Phase 1: Classification of all critical sections. + (SCM_ENTER_A_SECTION, SCM_EXIT_A_SECTION): New macros: Delimiters + for A sections. (See comments in __scm.h for details.) + * dynl.c: Only check that HAVE_DLOPEN is defined before loading dynl-dl.c; Test on HAVE_LIBDLD instead of HAVE_DLD. diff --git a/libguile/dynl.c b/libguile/dynl.c index 3182382e5..7560c687c 100644 --- a/libguile/dynl.c +++ b/libguile/dynl.c @@ -114,8 +114,8 @@ scm_must_free_argv(argv) char **argv; { char **av = argv; - while(!(*av)) - free(*(av++)); + while (*av) + free(*(av++)); free(argv); }