fixed  memory leaks

fixed possible memory leak romaji transliteration