diff options
author | Narayan Kamath <narayan@google.com> | 2017-04-04 09:24:15 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2017-04-04 11:08:58 +0100 |
commit | 9084fb6f7c4da5d42c6b58b523d71e8ad65dd754 (patch) | |
tree | 6db28fe61a9a9c544e37cbb2054ffdb7de521b0b /include/ScopedJavaUnicodeString.h | |
parent | 19e7bbfa1fd6bc558a4062ae38b96a1581462a1b (diff) |
Revert "Revert "Matcher: Avoid excessive String copies.""
This reverts commit 53e4e15bb0fc2f789274998f3ce62c4fc021fbe8.
Fixes a memory leak introduced in 53e4e15bb0f. Also :
- switches to using ScopedStringChars to simplify the code further.
- better ICU error checking.
Bug: 36366255
Bug: 36818684
Test: cts -m CtsLibcoreTestCases
Test: ScannerTest on host/x86
Change-Id: I3f108931cd5236be4ff9c0bd608a87701370dbf1
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions