mismatched new[]/delete

Change-Id: I0bfa3c090c436c0397ead80f2759ab7335f3aa0f
This commit is contained in:
Caolán McNamara
2013-06-05 17:44:09 +01:00
parent 765a030767
commit baf8f02b00

View File

@@ -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