Fixed memory leak in GetUserLanguage.
Code formatting.