if (icd) {
storage_idx = 0;
for (icd = inst->icds; icd; icd = icd->next) {
+ if (NULL == icd->DestroyDebugReportCallbackEXT) {
+ continue;
+ }
+
if (icd_info[storage_idx]) {
icd->DestroyDebugReportCallbackEXT(
icd->instance, icd_info[storage_idx], pAllocator);
icd_info = *(VkDebugReportCallbackEXT **)&callback;
storage_idx = 0;
for (icd = inst->icds; icd; icd = icd->next) {
+ if (NULL == icd->DestroyDebugReportCallbackEXT) {
+ continue;
+ }
+
if (icd_info[storage_idx]) {
icd->DestroyDebugReportCallbackEXT(
icd->instance, icd_info[storage_idx], pAllocator);