Kaydet (Commit) baf8f02b authored tarafından Caolán McNamara's avatar Caolán McNamara

mismatched new[]/delete

Change-Id: I0bfa3c090c436c0397ead80f2759ab7335f3aa0f
üst 765a0307
......@@ -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
......
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