From fca8f55ba08de1df5b727b33dfccdd7b3515162c Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Tue, 2 Sep 2014 09:49:53 +0000 Subject: [PATCH] Add a clarifying comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14426 --- coregrind/m_mallocfree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coregrind/m_mallocfree.c b/coregrind/m_mallocfree.c index 5e8e459210..043069b36d 100644 --- a/coregrind/m_mallocfree.c +++ b/coregrind/m_mallocfree.c @@ -1673,6 +1673,9 @@ void add_one_block_to_stats (Arena* a, SizeT loaned) a->stats__tot_bytes += (ULong)loaned; } +/* Allocate a piece of memory of req_pszB bytes on the given arena. + The function may return NULL if (and only if) aid == VG_AR_CLIENT. + Otherwise, the function returns a non-NULL value. */ void* VG_(arena_malloc) ( ArenaId aid, const HChar* cc, SizeT req_pszB ) { SizeT req_bszB, frag_bszB, b_bszB; -- 2.47.2