Fix memory leak in KMSDRM_Vulkan_CreateSurface

Variable `device_props` is never freed.
main
Mathieu Eyraud 2021-02-22 14:51:42 +01:00 committed by Sam Lantinga
parent b3498a5dc2
commit 2df9c15e96
1 changed files with 2 additions and 0 deletions

View File

@ -440,6 +440,8 @@ clean:
SDL_free (physical_devices); SDL_free (physical_devices);
if (displays_props) if (displays_props)
SDL_free (displays_props); SDL_free (displays_props);
if (device_props)
SDL_free (device_props);
if (planes_props) if (planes_props)
SDL_free (planes_props); SDL_free (planes_props);
if (modes_props) if (modes_props)