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

Issue 9333005: Fix some memory leaks. (Closed)

Created:
8 years, 10 months ago by sadrul
Modified:
8 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, glider+watch_chromium.org, pam+watch_chromium.org, tfarina, timurrrr+watch_chromium.org, bruening+watch_chromium.org, Alexander Potapenko
Visibility:
Public.

Description

Fix some memory leaks. BUG=112803, 112795 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=120827

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -44 lines) Patch
M chrome/browser/chromeos/input_method/xkeyboard.cc View 1 2 1 chunk +4 lines, -7 lines 0 comments Download
M tools/heapcheck/suppressions.txt View 1 2 3 2 chunks +0 lines, -16 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 2 chunks +0 lines, -17 lines 0 comments Download
M ui/base/touch/touch_factory.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M ui/base/x/x11_util.h View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/view_unittest.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sadrul
8 years, 10 months ago (2012-02-06 17:34:53 UTC) #1
sky
http://codereview.chromium.org/9333005/diff/1/ui/base/touch/touch_factory.cc File ui/base/touch/touch_factory.cc (right): http://codereview.chromium.org/9333005/diff/1/ui/base/touch/touch_factory.cc#newcode67 ui/base/touch/touch_factory.cc:67: char* atom = XGetAtomName(display, v->label); How about a scoping ...
8 years, 10 months ago (2012-02-06 17:55:47 UTC) #2
sadrul
http://codereview.chromium.org/9333005/diff/1/ui/base/touch/touch_factory.cc File ui/base/touch/touch_factory.cc (right): http://codereview.chromium.org/9333005/diff/1/ui/base/touch/touch_factory.cc#newcode67 ui/base/touch/touch_factory.cc:67: char* atom = XGetAtomName(display, v->label); On 2012/02/06 17:55:47, sky ...
8 years, 10 months ago (2012-02-06 19:48:30 UTC) #3
sky
http://codereview.chromium.org/9333005/diff/3001/ui/base/touch/touch_factory.cc File ui/base/touch/touch_factory.cc (right): http://codereview.chromium.org/9333005/diff/3001/ui/base/touch/touch_factory.cc#newcode22 ui/base/touch/touch_factory.cc:22: class XScopedString { Should this live in ui/base/x?
8 years, 10 months ago (2012-02-06 21:43:00 UTC) #4
sadrul
http://codereview.chromium.org/9333005/diff/3001/ui/base/touch/touch_factory.cc File ui/base/touch/touch_factory.cc (right): http://codereview.chromium.org/9333005/diff/3001/ui/base/touch/touch_factory.cc#newcode22 ui/base/touch/touch_factory.cc:22: class XScopedString { On 2012/02/06 21:43:00, sky wrote: > ...
8 years, 10 months ago (2012-02-07 19:45:24 UTC) #5
sky
LGTM http://codereview.chromium.org/9333005/diff/6001/ui/base/x/x11_util.h File ui/base/x/x11_util.h (right): http://codereview.chromium.org/9333005/diff/6001/ui/base/x/x11_util.h#newcode262 ui/base/x/x11_util.h:262: explicit XScopedString(char *str) : string_(str) { } 'char ...
8 years, 10 months ago (2012-02-07 20:55:01 UTC) #6
sadrul
8 years, 10 months ago (2012-02-07 21:30:08 UTC) #7
http://codereview.chromium.org/9333005/diff/6001/ui/base/x/x11_util.h
File ui/base/x/x11_util.h (right):

http://codereview.chromium.org/9333005/diff/6001/ui/base/x/x11_util.h#newcode262
ui/base/x/x11_util.h:262: explicit XScopedString(char *str) : string_(str) { }
On 2012/02/07 20:55:01, sky wrote:
> 'char *str' -> 'char* str' (same on line 268)

Whoops. Sorry! Fixed.

Powered by Google App Engine
This is Rietveld 408576698