OcFileLib: Add missing error condition
@@ -103,6 +103,7 @@ OcUnblockUnmountedPartitions (
DiskIoInfos[DiskIoInfoIndex].AgentHandle,
NULL
);
+ if (EFI_ERROR (Status)) {
DEBUG ((
DEBUG_INFO,
"OCFSQ: Failed to unblock handle %p - %r\n",
@@ -111,6 +112,7 @@ OcUnblockUnmountedPartitions (
));
}
}
+ }
FreePool (DiskIoInfos);
}
