]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common source file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Fri, 20 Nov 2020 16:37:30 +0000 (08:37 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Fri, 20 Nov 2020 16:37:30 +0000 (08:37 -0800)
open-vm-tools/lib/unicode/unicodeSimpleTypes.c

index 59811093dc720c992980bfde3d29394058e77425..3fa635c988a05b54c4820d9c1d487937a2bfaf0d 100644 (file)
@@ -2943,6 +2943,8 @@ Unicode_Shutdown(int argc,              // IN
    HashTable_FreeUnsafe(unicodeEncCache);
    unicodeEncCache = NULL;
 
+   // Please refer to comments in UnicodeInitInternal
+#if !defined(__APPLE__) && !defined(VMX86_SERVER)
    if (argv != NULL) {
       Util_FreeStringList(argv, argc + 1);
    }
@@ -2950,6 +2952,7 @@ Unicode_Shutdown(int argc,              // IN
    if (envp != NULL) {
       Util_FreeStringList(envp, -1);
    }
+#endif
 }