]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Augment a comment.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 27 Mar 2007 07:41:33 +0000 (07:41 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 27 Mar 2007 07:41:33 +0000 (07:41 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6676

include/pub_tool_mallocfree.h

index 70a6f6969d0d4b62df75229504098896a48f3ff9..118f7520f124f4ebb9d964f1f9b68ae0c1fab908 100644 (file)
@@ -33,6 +33,8 @@
 #define __PUB_TOOL_MALLOCFREE_H
 
 // These can be for allocating memory used by tools.
+// Nb: the allocators *always succeed* -- they never return NULL (Valgrind
+// will abort if they can't allocate the memory).
 extern void* VG_(malloc)         ( SizeT nbytes );
 extern void  VG_(free)           ( void* p );
 extern void* VG_(calloc)         ( SizeT n, SizeT bytes_per_elem );