fix use after free
parent
ca07286e29
commit
c7666cd8fc
|
@ -8067,6 +8067,7 @@ static void VULKAN_INTERNAL_ResetCommandBuffer(
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_free(commandBuffer->transferBuffers);
|
SDL_free(commandBuffer->transferBuffers);
|
||||||
|
commandBuffer->transferBuffers = NULL;
|
||||||
commandBuffer->transferBufferCount = 0;
|
commandBuffer->transferBufferCount = 0;
|
||||||
|
|
||||||
commandBuffer->submitted = 0;
|
commandBuffer->submitted = 0;
|
||||||
|
|
Loading…
Reference in New Issue