From 4bd808346ace68fbb713089ddedca89b25beedd1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 20 May 2019 00:41:18 -0400 Subject: [PATCH] vulkan: Swapped out a free() that should have been an SDL_free(). Fixes (for real this time!) the Visual Studio builds. --- src/video/SDL_vulkan_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_vulkan_utils.c b/src/video/SDL_vulkan_utils.c index a26606d02ad91..6684e3b772928 100644 --- a/src/video/SDL_vulkan_utils.c +++ b/src/video/SDL_vulkan_utils.c @@ -301,7 +301,7 @@ SDL_bool SDL_Vulkan_Display_CreateSurface(void *vkGetInstanceProcAddr_, SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "vulkandisplay: Display: %s Native resolution: %ux%u", displayProperties[displayId].displayName, extent.width, extent.height); - free(displayProperties); + SDL_free(displayProperties); displayProperties = NULL; /* Get display mode properties for the chosen display */