summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/Unix/Sec/BlockIo.c
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-08 22:31:29 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-08 22:31:29 +0000
commit21ce7a41791e461f5d92f6ce3c712b8dd1f33a54 (patch)
tree08d50536ad416651056cafdbbb92c9df45012728 /InOsEmuPkg/Unix/Sec/BlockIo.c
parent946bfba2c321425f22fecb53349b779594543919 (diff)
downloadedk2-platforms-21ce7a41791e461f5d92f6ce3c712b8dd1f33a54.tar.xz
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
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/BlockIo.c')
-rw-r--r--InOsEmuPkg/Unix/Sec/BlockIo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/InOsEmuPkg/Unix/Sec/BlockIo.c b/InOsEmuPkg/Unix/Sec/BlockIo.c
index 64494fe83f..b764a63660 100644
--- a/InOsEmuPkg/Unix/Sec/BlockIo.c
+++ b/InOsEmuPkg/Unix/Sec/BlockIo.c
@@ -701,6 +701,7 @@ EmuBlockIoThunkClose (
free (Private->Filename);
}
free (This->Private);
+ This->Private = NULL;
}
return EFI_SUCCESS;