Fix memory leak in KMSDRM_Vulkan_CreateSurface

Variable `device_props` is never freed.
This commit is contained in:
Mathieu Eyraud authored and Sam Lantinga committed 2021-02-22 09:00:45 -08:00
1 parent b3498a5dc2
commit 2df9c15e96
1 file changed
+2
+2
View File
@@ -440,6 +440,8 @@ clean:
SDL_free (physical_devices);
if (displays_props)
SDL_free (displays_props);
if (device_props)
SDL_free (device_props);
if (planes_props)
SDL_free (planes_props);
if (modes_props)