|
From: <sv...@va...> - 2014-09-02 09:50:02
|
Author: florian
Date: Tue Sep 2 09:49:53 2014
New Revision: 14426
Log:
Add a clarifying comment.
Modified:
trunk/coregrind/m_mallocfree.c
Modified: trunk/coregrind/m_mallocfree.c
==============================================================================
--- trunk/coregrind/m_mallocfree.c (original)
+++ trunk/coregrind/m_mallocfree.c Tue Sep 2 09:49:53 2014
@@ -1673,6 +1673,9 @@
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;
|