From: Nicholas Nethercote Date: Sun, 13 Mar 2005 06:04:49 +0000 (+0000) Subject: Note that VG_(HT_construct)() allocates memory. X-Git-Tag: svn/VALGRIND_3_0_0~983 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c7f4a6f0cf471c70cc13098dfba2de7d0ae91c;p=thirdparty%2Fvalgrind.git Note that VG_(HT_construct)() allocates memory. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3335 --- diff --git a/include/tool.h.base b/include/tool.h.base index 67cdfbec9d..fa11571d6c 100644 --- a/include/tool.h.base +++ b/include/tool.h.base @@ -816,7 +816,8 @@ typedef VgHashNode** VgHashTable; -/* Make a new table. */ +/* Make a new table. Allocates the memory with VG_(calloc)(), so can be freed + * with VG_(free)(). */ extern VgHashTable VG_(HT_construct) ( void ); /* Count the number of nodes in a table. */