layers:Early exit in object_tracker FreeMemory
If memory object is invalid, object_tracker should not call down the
chain. Also, update validation test to expect that object_tracker
will flag the invalid handle instead of core_validation.
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 1ee8957..649b052 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -9857,8 +9857,7 @@
"is 0x";
const char *bind_null_buffer_message = "In vkBindBufferMemory, attempting"
" to Bind Obj(0x";
- const char *free_invalid_buffer_message = "Request to delete memory "
- "object 0x";
+ const char *free_invalid_buffer_message = "Invalid Device Memory Object 0x";
ASSERT_NO_FATAL_FAILURE(InitState());
ASSERT_NO_FATAL_FAILURE(InitViewport());