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:
andrewfish 2011-06-08 22:31:29 +00:00
parent 946bfba2c3
commit 21ce7a4179
3 changed files with 3 additions and 1 deletions

View File

@ -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;
}

View File

@ -701,6 +701,7 @@ EmuBlockIoThunkClose (
free (Private->Filename);
}
free (This->Private);
This->Private = NULL;
}
return EFI_SUCCESS;

View File

@ -1537,6 +1537,7 @@ PosixFileSystmeThunkClose (
free (Private->VolumeLabel);
}
free (This->Private);
This->Private = NULL;
}
return EFI_SUCCESS;