We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d745850 commit de38ca2Copy full SHA for de38ca2
1 file changed
loader/loader.c
@@ -476,6 +476,7 @@ VkResult normalize_path(const struct loader_instance *inst, char **passed_in_pat
476
char *new_path = loader_instance_heap_realloc(inst, path, path_len, actual_len + 1, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);
477
if (NULL == new_path) {
478
loader_instance_heap_free(inst, path);
479
+ path = NULL;
480
res = VK_ERROR_OUT_OF_HOST_MEMORY;
481
goto out;
482
}
0 commit comments