Fix memory leak in KMSDRM_Vulkan_CreateSurface
Variable `device_props` is never freed.main
parent
b3498a5dc2
commit
2df9c15e96
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue