diff options
author | bi4k8 <bi4k8-js7gse3b01w@mt2015.com> | 2022-06-11 20:25:35 +0000 |
---|---|---|
committer | bi4k8 <bi4k8-js7gse3b01w@mt2015.com> | 2022-06-11 20:25:35 +0000 |
commit | 35d1bcff6f6320442e6d3af52b3501b424eefc2b (patch) | |
tree | 8f4673f1f714eed67e7667ffe64d7222f6f0fb13 /render/vulkan/texture.c | |
parent | e7b217efb97b603ba992b48fee21b58cc2b3644e (diff) |
render/vulkan/pixel_format: do not leak props->...
`vulkan_format_props_query` calls `query_modifier_support` which
initializes fields of `props` with allocated memory. this memory is
leaked if `query_modifier_support` does not find a supported format
and shmtex is not supported, as in this case `add_fmt_props` ends
up being false and the allocated fields of `props` are never freed.
Diffstat (limited to 'render/vulkan/texture.c')
0 files changed, 0 insertions, 0 deletions