Kaydet (Commit) 39f821c9 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#705657: fix memory leak

Change-Id: I326d2d168d48016d6f1784ff947edd17eb398838
üst a050b178
......@@ -1554,6 +1554,10 @@ LocaleData::getAllInstalledLocaleNames() throw(RuntimeException)
}
seq[nInstalled++] = tmpLocale;
}
else
{
delete pCachedItem;
}
}
if ( nInstalled < nbOfLocales )
seq.realloc( nInstalled ); // reflect reality
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment