diff --git a/src/kits/locale/MutableLocaleRoster.cpp b/src/kits/locale/MutableLocaleRoster.cpp index ae4ff709cf..53784b6924 100644 --- a/src/kits/locale/MutableLocaleRoster.cpp +++ b/src/kits/locale/MutableLocaleRoster.cpp @@ -814,7 +814,8 @@ MutableLocaleRoster::LoadCatalog(const char* signature, const char* language, currCatalog = nextCatalog; } } - return catalog; + if (catalog != NULL) + return catalog; } info->UnloadIfPossible(); }