]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Note that VG_(HT_construct)() allocates memory.
authorNicholas Nethercote <njn@valgrind.org>
Sun, 13 Mar 2005 06:04:49 +0000 (06:04 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 13 Mar 2005 06:04:49 +0000 (06:04 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3335

include/tool.h.base

index 67cdfbec9d6e89b2e76b35373120ed45a7c26a85..fa11571d6c83efce6e64a29d1f90f74e401149dc 100644 (file)
@@ -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. */