mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
comp: Comment a resource and memory leak
This commit is contained in:
parent
2aca9821fa
commit
e21b495f90
|
@ -244,6 +244,9 @@ comp_swapchain_create(struct xrt_compositor *xc,
|
|||
mip_count, &sc->images[i].image,
|
||||
&sc->images[i].memory, &sc->base.images[i]);
|
||||
if (ret != VK_SUCCESS) {
|
||||
//! @todo memory leak of image fds and swapchain
|
||||
// see
|
||||
// https://gitlab.freedesktop.org/monado/monado/issues/20
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue