tests: Remove second destroy of the same buffer
authorTony Barbour <tony@LunarG.com>
Tue, 13 Dec 2016 21:36:23 +0000 (14:36 -0700)
committerTony Barbour <tony@LunarG.com>
Tue, 13 Dec 2016 21:39:16 +0000 (14:39 -0700)
Change-Id: I21a4ee1406cb1f8ede669488df776cee5ea3addc

tests/layer_validation_tests.cpp

index b194e98..470f8f6 100644 (file)
@@ -16707,7 +16707,6 @@ TEST_F(VkPositiveLayerTest, TestAliasedMemoryTracking) {
     m_errorMonitor->VerifyNotFound();
 
     vkFreeMemory(m_device->device(), mem, NULL);
-    vkDestroyBuffer(m_device->device(), buffer, NULL);
     vkDestroyImage(m_device->device(), image, NULL);
 }