mirror of https://github.com/acidanthera/audk.git
InOsEmuPkg: Fix reconnect -r from the shell
Signed-off-by: andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11772 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
946bfba2c3
commit
21ce7a4179
|
@ -372,7 +372,7 @@ EmuGopDestructor (
|
|||
|
||||
Status = EFI_SUCCESS;
|
||||
if (!Private->HardwareNeedsStarting) {
|
||||
Status = Private->EmuIoThunk->Open (Private->EmuIoThunk);
|
||||
Status = Private->EmuIoThunk->Close (Private->EmuIoThunk);
|
||||
Private->EmuGraphicsWindow = NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -701,6 +701,7 @@ EmuBlockIoThunkClose (
|
|||
free (Private->Filename);
|
||||
}
|
||||
free (This->Private);
|
||||
This->Private = NULL;
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
|
|
@ -1537,6 +1537,7 @@ PosixFileSystmeThunkClose (
|
|||
free (Private->VolumeLabel);
|
||||
}
|
||||
free (This->Private);
|
||||
This->Private = NULL;
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue