mismatched new[]/delete
Change-Id: I0bfa3c090c436c0397ead80f2759ab7335f3aa0f
This commit is contained in:
@@ -281,8 +281,8 @@ WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary& wordBou
|
||||
|
||||
if (rCache.size == 0 || len > rCache.size) {
|
||||
if (rCache.size != 0) {
|
||||
delete rCache.contents;
|
||||
delete rCache.wordboundary;
|
||||
delete [] rCache.contents;
|
||||
delete [] rCache.wordboundary;
|
||||
rCache.size = len;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user