Removed the free function from the malloc-object SMOB type.
authorLudovic Courtes <ludovic.courtes@laas.fr>
Tue, 23 May 2006 21:59:28 +0000 (21:59 +0000)
committerLudovic Courtès <ludo@gnu.org>
Fri, 5 Sep 2008 07:33:47 +0000 (09:33 +0200)
commit8574d367a9de70b2882c0f3393c6b5040d0f6e4d
tree608b1ab4f21dbcf45a0fc3aca2d25a14c109640a
parent53cc0209fad717f4a72f42dfd5ab4d71889d0ccb
Removed the free function from the malloc-object SMOB type.

* libguile/mallocs.c (malloc_free): Removed.
  (scm_init_mallocs): Don't invoke `scm_set_smob_free ()' because the
  memory allocated by `scm_gc_malloc ()' will automatically be freed.
  Furthermore, `malloc_free ()' used to invoke `free ()' instead of
  `scm_gc_free ()' which is incorrect.

git-archimport-id: lcourtes@laas.fr--2005-libre/guile-core--boehm-gc--1.9--patch-25
libguile/mallocs.c