From: Jean-Philippe Bruyère Date: Tue, 3 Jun 2025 14:30:07 +0000 (+0200) Subject: debug issues #161 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=jp%2Fvkvg.git debug issues #161 --- 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);