summaryrefslogtreecommitdiff
path: root/libguile/gc-malloc.c
diff options
context:
space:
mode:
authorBake Timmons <b3timmons@speedymail.org>2011-10-22 13:28:53 +0200
committerLudovic Courtès <ludo@gnu.org>2011-10-22 13:29:09 +0200
commit8fc5ef7df87f9f6da33af0cb3c79f354c0ccd708 (patch)
treeb9e0be6bd4fceb832c6dda2d19243b437fea383d /libguile/gc-malloc.c
parent80fc43f2cf12c7a21a0533cc84e91059ef9d8170 (diff)
downloadguile-8fc5ef7df87f9f6da33af0cb3c79f354c0ccd708.tar.gz
Fix compilation with `--enable-debug-malloc'.
* libguile/gc-malloc.c (scm_gc_register_collectable_memory): Add the missing second argument in the call to scm_malloc_register.
Diffstat (limited to 'libguile/gc-malloc.c')
-rw-r--r--libguile/gc-malloc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c
index 4f77f65dd..c64ea2f33 100644
--- a/libguile/gc-malloc.c
+++ b/libguile/gc-malloc.c
@@ -1,4 +1,5 @@
-/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+ * 2004, 2006, 2008, 2009, 2010, 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
@@ -154,7 +155,7 @@ scm_gc_register_collectable_memory (void *mem, size_t size, const char *what)
/* Nothing to do. */
#ifdef GUILE_DEBUG_MALLOC
if (mem)
- scm_malloc_register (mem);
+ scm_malloc_register (mem, what);
#endif
}