]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
bora/lib/unicode: fix leak on exit
authorOliver Kurth <okurth@vmware.com>
Tue, 17 Mar 2020 21:36:57 +0000 (14:36 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 17 Mar 2020 21:36:57 +0000 (14:36 -0700)
commita994ab0ba4ddaa796d4677b5923cd3ef1267bece
tree032b60334251ab4fdd2ede928b097272d8c1de25
parent7d014ec26c28c4d9379879270fb8704f8dce6b57
bora/lib/unicode: fix leak on exit

The hashtable used for encoding name -> IANA table index
lookups was not getting freed.

Also, HashTable_AllocOnce() incorrectly instructs
the hashtable to clear its clientData, which contains
an integer index and not a pointer, using "free".
open-vm-tools/lib/unicode/unicodeSimpleTypes.c