summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/localedata.cxx4
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