]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update expected output now that Memcheck's realloc implementation always
authorJulian Seward <jseward@acm.org>
Sat, 8 Nov 2008 15:12:48 +0000 (15:12 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 8 Nov 2008 15:12:48 +0000 (15:12 +0000)
moves the block, even when the new block is smaller or the same size.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8742

memcheck/tests/malloc_free_fill.stderr.exp

index 5f6f019411064b81d0939fc07ff2ac37812a51a7..bf9f2c1a3512a25a6d75d1a2d967c881ec49dc51 100644 (file)
@@ -45,7 +45,9 @@ test realloc-smaller:
 
 Invalid read of size 4
    at 0x........: main (malloc_free_fill.c:49)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
+ Address 0x........ is 104 bytes inside a block of size 120 free'd
+   at 0x........: realloc (vg_replace_malloc.c:...)
+   by 0x........: main (malloc_free_fill.c:47)
 (should be free-filled)   oldr[26] = 77777777
 test calloc:
 (should be zero)             a[42] = 0