summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--malloc.c3
-rw-r--r--mallocx.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/malloc.c b/malloc.c
index c1e2ed2c..ef269095 100644
--- a/malloc.c
+++ b/malloc.c
@@ -355,9 +355,8 @@ GC_API void * GC_CALL GC_malloc_uncollectable(size_t lb)
/* malloc replacements. Otherwise we end up saving a */
/* meaningless return address in the object. It also speeds things up, */
/* but it is admittedly quite ugly. */
-
# define GC_debug_malloc_replacement(lb) \
- GC_debug_malloc(lb, GC_DBG_RA "unknown", 0)
+ GC_debug_malloc(lb, GC_DBG_RA NULL, 0)
void * malloc(size_t lb)
{
diff --git a/mallocx.c b/mallocx.c
index d3fbed27..1b4e09b8 100644
--- a/mallocx.c
+++ b/mallocx.c
@@ -153,9 +153,8 @@ GC_API void * GC_CALL GC_realloc(void * p, size_t lb)
# ifdef REDIRECT_REALLOC
/* As with malloc, avoid two levels of extra calls here. */
-
# define GC_debug_realloc_replacement(p, lb) \
- GC_debug_realloc(p, lb, GC_DBG_RA "unknown", 0)
+ GC_debug_realloc(p, lb, GC_DBG_RA NULL, 0)
void * realloc(void * p, size_t lb)
{