Signed-off-by: Georg Lehmann dadschoorse@gmail.com --- dlls/winevulkan/vulkan.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/winevulkan/vulkan.c b/dlls/winevulkan/vulkan.c index 47f06f32bc3..10c86159a61 100644 --- a/dlls/winevulkan/vulkan.c +++ b/dlls/winevulkan/vulkan.c @@ -1965,6 +1965,9 @@ void WINAPI wine_vkDestroyDebugReportCallbackEXT(
TRACE("%p, 0x%s, %p\n", instance, wine_dbgstr_longlong(callback), allocator);
+ if (!callback) + return; + object = wine_debug_report_callback_from_handle(callback);
instance->funcs.p_vkDestroyDebugReportCallbackEXT(instance->instance, object->debug_callback, NULL);