]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
wibbles
authorNicholas Nethercote <njn@valgrind.org>
Tue, 16 Aug 2005 03:34:56 +0000 (03:34 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 16 Aug 2005 03:34:56 +0000 (03:34 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4433

massif/ms_main.c
memcheck/mac_malloc_wrappers.c

index c44e2a11c71e259a7ec43d89d170ca37d30239fb..03fb3361fb6bb596faf688d670823a5ec38288bf 100644 (file)
@@ -782,7 +782,7 @@ static void* ms_realloc ( ThreadId tid, void* p_old, SizeT new_size )
    
    VGP_PUSHCC(VgpCliMalloc);
 
-   // First try and find the block.
+   // Remove the old block
    hc = VG_(HT_remove)(malloc_list, (UWord)p_old);
    if (hc == NULL) {
       VGP_POPCC(VgpCliMalloc);
index d72ec22067f7385717e58dc04923211e4afa7dc6..de6d7e1508aff0f4f2816704db53418ceb8b2cb0 100644 (file)
@@ -297,7 +297,7 @@ void MAC_(handle_free) ( ThreadId tid, Addr p, UInt rzB, MAC_AllocKind kind )
    if (mc == NULL) {
       MAC_(record_free_error) ( tid, p );
    } else {
-      /* check if its a matching free() / delete / delete [] */
+      /* check if it is a matching free() / delete / delete [] */
       if (kind != mc->allockind) {
          MAC_(record_freemismatch_error) ( tid, p, mc );
       }