From: Julian Seward Date: Wed, 21 Aug 2002 23:05:49 +0000 (+0000) Subject: Fix a couple of doc bugs. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9138dac27e8fcb0e8982aeeb22c2f68b33ba71ef;p=thirdparty%2Fvalgrind.git Fix a couple of doc bugs. MERGE TO HEAD git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@615 --- diff --git a/docs/manual.html b/docs/manual.html index b715ee3dfe..11fb01c713 100644 --- a/docs/manual.html +++ b/docs/manual.html @@ -838,8 +838,8 @@ point that Valgrind complains.
  • The contents of malloc'd blocks, before you write something there. In C++, the new operator is a wrapper round malloc, so if you create an object with new, its fields will be - uninitialised until you fill them in, which is only Right and - Proper.
  • + uninitialised until you (or the constructor) fill them in, which + is only Right and Proper. @@ -1617,11 +1617,11 @@ memalign, free, new and delete. The behaviour you get is:
  • If the new size is smaller, the dropped-off section is marked as unaddressible. You may only pass to realloc a pointer - previously issued to you by malloc/calloc/new/realloc.

  • + previously issued to you by malloc/calloc/realloc.

  • free/delete: you may only pass to free a pointer previously - issued to you by malloc/calloc/new/realloc, or the value + issued to you by malloc/calloc/realloc, or the value NULL. Otherwise, Valgrind complains. If the pointer is indeed valid, Valgrind marks the entire area it points at as unaddressible, and places the block in the freed-blocks-queue.