loader: Move tag to avoid linux warning
authorLenny Komow <lenny@lunarg.com>
Fri, 14 Aug 2020 20:48:42 +0000 (14:48 -0600)
committerLenny Komow <lenny@lunarg.com>
Fri, 14 Aug 2020 20:52:12 +0000 (14:52 -0600)
loader/loader.c

index 87f4c27..ca6fda9 100644 (file)
@@ -7162,9 +7162,9 @@ VkResult ReadSortedPhysicalDevices(struct loader_instance *inst, struct LoaderSo
 
         dxgi_factory->lpVtbl->Release(dxgi_factory);
     }
-#endif
 
 out:
+#endif
 
     if (*sorted_count == 0 && *sorted_devices != NULL) {
         loader_instance_heap_free(inst, *sorted_devices);