[vulkan] Plug a memory leak in capture

I probably need to do this for other subsystems as well, but it stood
out when chasing down another memory leak.
This commit is contained in:
Bill Currie 2023-07-08 03:32:41 +09:00
parent 79ab2f7ba7
commit 8bb5d2e1c9

View file

@ -330,7 +330,7 @@ QFV_Capture_Shutdown (vulkan_ctx_t *ctx)
QFV_DestroyResource (device, cap->resources);
}
free (cap->resources);
DARRAY_CLEAR (&cap->frames);
free (cap->frames.a);
free (cap);
}