mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
[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:
parent
79ab2f7ba7
commit
8bb5d2e1c9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue