Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10604)

Issue 329360044: DateTimeSymbols data loading memory leak

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 7 months ago by fabalbon
Modified:
6 years, 7 months ago
Reviewers:
aheninger
Visibility:
Public.

Description

DateTimeSymbols data loading memory leak

Patch Set 1 #

Total comments: 2

Patch Set 2 : Avoid copying array if not used #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -10 lines) Patch
M icu4c/source/i18n/dtfmtsym.cpp View 1 1 chunk +13 lines, -9 lines 0 comments Download
M icu4c/source/test/intltest/dtfmrgts.h View 1 chunk +1 line, -0 lines 0 comments Download
M icu4c/source/test/intltest/dtfmrgts.cpp View 3 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 6
fabalbon
6 years, 7 months ago (2017-10-02 23:36:44 UTC) #1
fabalbon
Andy, This is the fix for the memory leak in DateFormatSymbols. Please take a look. ...
6 years, 7 months ago (2017-10-02 23:40:22 UTC) #2
aheninger
https://codereview.appspot.com/329360044/diff/1/icu4c/source/i18n/dtfmtsym.cpp File icu4c/source/i18n/dtfmtsym.cpp (right): https://codereview.appspot.com/329360044/diff/1/icu4c/source/i18n/dtfmtsym.cpp#newcode1640 icu4c/source/i18n/dtfmtsym.cpp:1640: if (arrays.get(*path) == NULL) { Could you move this ...
6 years, 7 months ago (2017-10-03 00:28:15 UTC) #3
fabalbon
Avoid copying array if not used
6 years, 7 months ago (2017-10-03 00:36:08 UTC) #4
fabalbon
https://codereview.appspot.com/329360044/diff/1/icu4c/source/i18n/dtfmtsym.cpp File icu4c/source/i18n/dtfmtsym.cpp (right): https://codereview.appspot.com/329360044/diff/1/icu4c/source/i18n/dtfmtsym.cpp#newcode1640 icu4c/source/i18n/dtfmtsym.cpp:1640: if (arrays.get(*path) == NULL) { On 2017/10/03 00:28:14, aheninger ...
6 years, 7 months ago (2017-10-03 00:37:42 UTC) #5
aheninger
6 years, 7 months ago (2017-10-03 00:50:59 UTC) #6
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b