From 86ff26b3787c09b2e9a321d944af312b49041f08 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Tue, 3 Jun 2025 16:30:07 +0200 Subject: [PATCH] debug issues #161 --- src/vkvg_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vkvg_device.c b/src/vkvg_device.c index af3880a..96af2d0 100644 --- a/src/vkvg_device.c +++ b/src/vkvg_device.c @@ -386,13 +386,13 @@ VkvgDevice vkvg_device_create(vkvg_device_create_info_t *info) { .pNext = pNext}; dev->vkhDev = vkh_device_create(app, pi, &device_info); - vkh_app_free_phyinfos(phyCount, phys); - info->inst = vkh_app_get_inst(app); info->phy = vkh_device_get_phy(dev->vkhDev); info->vkdev = vkh_device_get_vkdev(dev->vkhDev); info->qFamIdx = pi->gQueue; info->qIndex = 0; + + vkh_app_free_phyinfos(phyCount, phys); } _device_init(dev, info); -- 2.47.3