Fix #1083: Memory leak in AgaviTranslationManager::getLocaleIdentifier()
merge 7374d1f656b1bc7aa4a55c51847d1244ff1e75f4...acecae639808a298df7d841c601bd671fe84d92b (from 1.0) - previous commit 7374d1f656b1bc7aa4a55c51847d1244ff1e75f4 was merged from 2faaf490b8aae7a4752efd49c223f1f17bf2d91c...c90abfac56eea6c1ab930be5b6a8281ec68baaf3 (from 1.0), sorry for the wrong commit message