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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/InOsEmuPkg/Unix/Sec/PosixFileSystem.c b/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
index 8558256..720f102 100644
--- a/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
+++ b/InOsEmuPkg/Unix/Sec/PosixFileSystem.c
@@ -1533,7 +1533,7 @@ PosixFileSystmeThunkClose (
}
if (This->Private != NULL) {
- if (Private->VolumeLabel == NULL) {
+ if (Private->VolumeLabel != NULL) {
free (Private->VolumeLabel);
}
free (This->Private);