diff --git a/examples/texturesparseresidency/texturesparseresidency.cpp b/examples/texturesparseresidency/texturesparseresidency.cpp
index 4832a54a6ea337992603f00e20bec16774735314..a67c834d987803e1e04659413898606567bd52f4 100644
--- a/examples/texturesparseresidency/texturesparseresidency.cpp
+++ b/examples/texturesparseresidency/texturesparseresidency.cpp
@@ -913,6 +913,7 @@ void VulkanExample::flushRandomPages()
 	VK_CHECK_RESULT(vkCreateFence(device, &fenceInfo, nullptr, &fence));
 	vkQueueBindSparse(queue, 1, &texture.bindSparseInfo, fence);
 	vkWaitForFences(device, 1, &fence, VK_TRUE, UINT64_MAX);
+	vkDestroyFence(device, fence, nullptr);
 	for (auto& page : texture.pages)
 	{
 		if (page.del)