mem: Avoid using invalid iterator in cache lock list traversal
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 15 Feb 2016 08:40:04 +0000 (03:40 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 15 Feb 2016 08:40:04 +0000 (03:40 -0500)
commit407233f5d80d04e27234eb70750a7f6ee13acd4f
treef13f8e9c0077e478822b17147b2ce8cd4c14cfb0
parentb181cea3645929d11b21a29ac8c3e3ed3079e91b
mem: Avoid using invalid iterator in cache lock list traversal

Fix up issue highlighted by Valgrind and the clang Address Sanitizer.
src/mem/cache/blk.hh