mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
* dynl.c (scm_must_free_argv): Fixed memory leak due to negated
condition. (Thanks to John Tobey.) * dynl.c: Only check that HAVE_DLOPEN is defined before loading dynl-dl.c; Test on HAVE_LIBDLD instead of HAVE_DLD.
This commit is contained in:
parent
3ede541d15
commit
c3e09ef939
3 changed files with 15 additions and 2 deletions
1
THANKS
1
THANKS
|
@ -29,6 +29,7 @@ Christopher Lee
|
||||||
Larry Schwimmer
|
Larry Schwimmer
|
||||||
Radey Shouman
|
Radey Shouman
|
||||||
Maciej Stachowiak
|
Maciej Stachowiak
|
||||||
|
John Tobey
|
||||||
Greg Troxel
|
Greg Troxel
|
||||||
Bernard Urban
|
Bernard Urban
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
||||||
|
|
||||||
|
* 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.c: Only check that HAVE_DLOPEN is defined before loading
|
||||||
dynl-dl.c; Test on HAVE_LIBDLD instead of HAVE_DLD.
|
dynl-dl.c; Test on HAVE_LIBDLD instead of HAVE_DLD.
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ scm_must_free_argv(argv)
|
||||||
char **argv;
|
char **argv;
|
||||||
{
|
{
|
||||||
char **av = argv;
|
char **av = argv;
|
||||||
while(!(*av))
|
while (*av)
|
||||||
free(*(av++));
|
free(*(av++));
|
||||||
free(argv);
|
free(argv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue