fix NamePrefixTable memory leak