OcDeviceMiscLib: Fix another NULL free

This commit is contained in:
vit9696 2021-04-14 01:31:21 +03:00
parent fb06828c0d
commit 562f85685d

View File

@ -252,9 +252,13 @@ OcReloadOptionRoms (
}
}
FreePool (BindingHandleBuffer);
if (BindingHandleBuffer != NULL) {
FreePool (BindingHandleBuffer);
}
}
}
FreePool (HandleArray);
return ReturnStatus;
}