summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'InOsEmuPkg/Unix/Sec/PosixFileSystem.c')
-rw-r--r--InOsEmuPkg/Unix/Sec/PosixFileSystem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/InOsEmuPkg/Unix/Sec/PosixFileSystem.c b/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
index 720f102..723e7be 100644
--- a/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
+++ b/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
@@ -1537,6 +1537,7 @@ PosixFileSystmeThunkClose (
free (Private->VolumeLabel);
}
free (This->Private);
+ This->Private = NULL;
}
return EFI_SUCCESS;