Skip to content
Commit 1e3b8779 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Juan A. Suarez Romero
Browse files

vulkan/overlay: fix crash on freeing NULL command buffer



It is legal to call vkFreeCommandBuffers() on NULL command buffers.

This fix requires eb41ce1b ("util/hash_table: Properly handle
the NULL key in hash_table_u64").

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 4438188f ("vulkan/overlay: record stats in command buffers and accumulate on exec/submit")
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit a72351cc)
parent 87fc035c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment