diff options
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index cda62635b8eb..5880d115a2ea 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1554,6 +1554,10 @@ LocaleData::getAllInstalledLocaleNames() throw(RuntimeException) } seq[nInstalled++] = tmpLocale; } + else + { + delete pCachedItem; + } } if ( nInstalled < nbOfLocales ) seq.realloc( nInstalled ); // reflect reality |