Fix memory leak in bert dict freeing
Merge pull request #3 from ice799/bert_dict_mem_leak

Fix memory leak in bert dict freeing