summaryrefslogtreecommitdiff
path: root/tools/docs/crypto/crypto_docs.py
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-04-24 13:55:51 +0100
committerNarayan Kamath <narayan@google.com>2017-04-25 11:33:32 +0100
commitde1819e35f05acf0acbbaace42c2e54797383ad7 (patch)
treed86e1df3e70eeed841b8436ea9bff5d2fa82fb2e /tools/docs/crypto/crypto_docs.py
parent37030d1489bc3a76c835617a8a8059e0b47dea71 (diff)
CharsetEncoderICU: Don't call updateCallback from <init>.
Changed for correctness and for consistency with CharsetDecoderICU. The existing code is incorrect because we'd end up deleting the same allocation twice (once from NativeAllocationRegistry's reference queue, and once from the finally block) if updateCallback throws. Related to b/37315864. Test: run cts -m CtsLibcoreTestCases Change-Id: I5425093ed7fbdc4aa69f5b9108428399b3c8c555
Diffstat (limited to 'tools/docs/crypto/crypto_docs.py')
0 files changed, 0 insertions, 0 deletions