mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +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,
|
mip_count, &sc->images[i].image,
|
||||||
&sc->images[i].memory, &sc->base.images[i]);
|
&sc->images[i].memory, &sc->base.images[i]);
|
||||||
if (ret != VK_SUCCESS) {
|
if (ret != VK_SUCCESS) {
|
||||||
|
//! @todo memory leak of image fds and swapchain
|
||||||
|
// see
|
||||||
|
// https://gitlab.freedesktop.org/monado/monado/issues/20
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue