diff options
author | Andy Wingo <wingo@pobox.com> | 2011-08-18 11:54:20 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-08-18 12:53:28 +0200 |
commit | fb031aba42d3b0d22538c50ef92a666496a8e326 (patch) | |
tree | 2cfd00b5c5d5580037116fcdac1d9a702429fb3d /libguile/bytevectors.h | |
parent | 5261e74281b1150e3b2594c92e571d8887a4900d (diff) | |
download | guile-fb031aba42d3b0d22538c50ef92a666496a8e326.tar.gz |
fix a couple of leaks
* libguile/bytevectors.h:
* libguile/bytevectors.c (scm_c_take_gc_bytevector): Rename this
internal function, from scm_c_take_bytevector. This indicates that
unlike the other scm_take_* functions, this one takes GC-managed
memory.
* libguile/objcodes.c (scm_objcode_to_bytecode):
* libguile/vm.c (really_make_boot_program): Use
scm_gc_malloc_pointerless, not scm_malloc. Thanks to Stefan
Israelsson Tampe!
* libguile/r6rs-ports.c:
* libguile/strings.c: Adapt to renames.
Diffstat (limited to 'libguile/bytevectors.h')
-rw-r--r-- | libguile/bytevectors.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/bytevectors.h b/libguile/bytevectors.h index 431b7dddd..8bafff3a3 100644 --- a/libguile/bytevectors.h +++ b/libguile/bytevectors.h @@ -1,7 +1,7 @@ #ifndef SCM_BYTEVECTORS_H #define SCM_BYTEVECTORS_H -/* Copyright (C) 2009 Free Software Foundation, Inc. +/* Copyright (C) 2009, 2011 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -138,7 +138,7 @@ SCM_INTERNAL void scm_bootstrap_bytevectors (void); SCM_INTERNAL void scm_init_bytevectors (void); SCM_INTERNAL SCM scm_i_native_endianness; -SCM_INTERNAL SCM scm_c_take_bytevector (signed char *, size_t); +SCM_INTERNAL SCM scm_c_take_gc_bytevector (signed char *, size_t); SCM_INTERNAL int scm_i_print_bytevector (SCM, SCM, scm_print_state *); |