From d1dc2a9f7dc16a70c497eeaeed935d4892a29391 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 8 Nov 2008 15:12:48 +0000 Subject: [PATCH] Update expected output now that Memcheck's realloc implementation always 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/memcheck/tests/malloc_free_fill.stderr.exp b/memcheck/tests/malloc_free_fill.stderr.exp index 5f6f019411..bf9f2c1a35 100644 --- a/memcheck/tests/malloc_free_fill.stderr.exp +++ b/memcheck/tests/malloc_free_fill.stderr.exp @@ -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 -- 2.47.2