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

Issue 2832043: Fixes leaks in remote_unittest.... (Closed)

Created:
10 years, 5 months ago by Hironori Bono
Modified:
9 years, 7 months ago
Reviewers:
garykac
CC:
chromium-reviews, Alpha Left Google, Sergey Ulanov, dmac, awong, Paweł Hajdan Jr.
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Fixes leaks in remote_unittest. This change just replaces pointers used in remote_unittest with scoped_ptr<> to delete the memory used in the test, and replaces scoped_ptr<> in differ.h with scoped_array<> to avoid mismatched deletes. BUG=46678 TEST=make valgrind bots green. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51493

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M remoting/host/differ.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/differ_unittest.cc View 8 chunks +15 lines, -15 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Hironori Bono
10 years, 5 months ago (2010-07-01 05:41:47 UTC) #1
garykac
10 years, 5 months ago (2010-07-01 23:00:22 UTC) #2
On 2010/07/01 05:41:47, hbono wrote:
> 

LGTM

Powered by Google App Engine
This is Rietveld 408576698