From cb963c22aa03c2d6f664ef8d7880852559d52ffd Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 15 Mar 2018 10:41:22 +0300 Subject: [PATCH] Fix comment for debug_generic_malloc_inner[_ignore_off_page] (fix of commit 38965f279) * dbg_mlc.c [DBG_HDRS_ALL] (GC_debug_generic_malloc_inner): Update comment after adding GC_start_debugging[_inner] call. --- dbg_mlc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbg_mlc.c b/dbg_mlc.c index 77497ebc..f087ab4b 100644 --- a/dbg_mlc.c +++ b/dbg_mlc.c @@ -577,8 +577,7 @@ STATIC void * GC_debug_generic_malloc(size_t lb, int knd, GC_EXTRA_PARAMS) /* An allocation function for internal use. Normally internally */ /* allocated objects do not have debug information. But in this */ /* case, we need to make sure that all objects have debug headers. */ - /* We assume debugging was started in collector initialization, and */ - /* we already hold the GC lock. */ + /* We assume we already hold the GC lock. */ GC_INNER void * GC_debug_generic_malloc_inner(size_t lb, int k) { void * result = GC_generic_malloc_inner( -- 2.40.0