Fix memory leaks in trie creation