When moving an address range add the new range before marking the old
one as free otherwise the filename referred to by the temporary copy
of the segment may be dropped from the segment name table when the old
range is freed even though the new range is going to use it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5920 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed