Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 270373002: fix leak in RTree::Remove() (Closed)

Created:
6 years, 7 months ago by luken
Modified:
6 years, 7 months ago
Reviewers:
piman, sky, scottmg
CC:
chromium-reviews, anantha, ashejole_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

fix leak in RTree::Remove() Caused in the common case when RTree::RemoveNode would remove a non-record-node child but would have more than min_children_ remaining nodes. BUG=370779 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269154

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixing nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M ui/gfx/geometry/r_tree.cc View 1 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
luken
6 years, 7 months ago (2014-05-07 17:54:02 UTC) #1
piman
Could you add a unit test that exercises the problematic path? that way it'll be ...
6 years, 7 months ago (2014-05-07 20:29:09 UTC) #2
luken
So when I ran LSAN locally almost all of the unit tests reported leaks in ...
6 years, 7 months ago (2014-05-07 20:36:58 UTC) #3
piman
lgtm
6 years, 7 months ago (2014-05-07 20:55:02 UTC) #4
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 7 months ago (2014-05-07 20:58:57 UTC) #5
luken
The CQ bit was checked by luken@chromium.org
6 years, 7 months ago (2014-05-07 20:59:16 UTC) #6
luken
The CQ bit was unchecked by luken@chromium.org
6 years, 7 months ago (2014-05-07 20:59:18 UTC) #7
luken
The CQ bit was checked by luken@chromium.org
6 years, 7 months ago (2014-05-07 20:59:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/luken@chromium.org/270373002/20001
6 years, 7 months ago (2014-05-07 21:00:35 UTC) #9
luken
The CQ bit was unchecked by luken@chromium.org
6 years, 7 months ago (2014-05-07 21:10:51 UTC) #10
luken
LGTM
6 years, 7 months ago (2014-05-07 21:11:07 UTC) #11
luken
The CQ bit was checked by luken@chromium.org
6 years, 7 months ago (2014-05-07 21:11:20 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/luken@chromium.org/270373002/20001
6 years, 7 months ago (2014-05-07 21:14:32 UTC) #13
luken
The CQ bit was unchecked by luken@chromium.org
6 years, 7 months ago (2014-05-07 21:25:27 UTC) #14
sky
Rubber stamp LGTM
6 years, 7 months ago (2014-05-07 21:31:50 UTC) #15
luken
The CQ bit was checked by luken@chromium.org
6 years, 7 months ago (2014-05-07 21:33:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/luken@chromium.org/270373002/20001
6 years, 7 months ago (2014-05-07 21:39:12 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 01:21:44 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 03:07:21 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 03:41:10 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium
6 years, 7 months ago (2014-05-08 03:41:10 UTC) #21
luken
The CQ bit was checked by luken@chromium.org
6 years, 7 months ago (2014-05-08 16:15:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/luken@chromium.org/270373002/20001
6 years, 7 months ago (2014-05-08 16:17:42 UTC) #23
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 02:24:36 UTC) #24
Message was sent while issue was closed.
Change committed as 269154

Powered by Google App Engine
This is Rietveld 408576698