Update for code security.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7255 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -596,10 +596,10 @@ UsbMassInitMultiLun (
|
||||
return EFI_SUCCESS;
|
||||
|
||||
ON_ERROR:
|
||||
if (UsbMass->DevicePath != NULL) {
|
||||
FreePool (UsbMass->DevicePath);
|
||||
}
|
||||
if (UsbMass != NULL) {
|
||||
if (UsbMass->DevicePath != NULL) {
|
||||
FreePool (UsbMass->DevicePath);
|
||||
}
|
||||
FreePool (UsbMass);
|
||||
}
|
||||
if (UsbIo != NULL) {
|
||||
|
Reference in New Issue
Block a user