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

Issue 9748012: Fix memory leak when errors happens in NaClProcessHost::Launch. Allow Launch to (Closed)

Created:
8 years, 9 months ago by halyavin
Modified:
8 years, 9 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews, native-client-reviews_googlegroups.com, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Fix memory leak when errors happens in NaClProcessHost::Launch. Allow Launch to be asynchronous. This is needed to support manifest autodetection for nacl-gdb. Fix problems with Broker::OnLoaderDied due to new correct error handling in Launch. BUG=115392 TEST= browser_tests.exe --gtest_filter=NaClGdbTest.*, manual testing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128201

Patch Set 1 #

Patch Set 2 : fix compile error #

Total comments: 10

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -32 lines) Patch
M chrome/browser/nacl_host/nacl_process_host.h View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 6 chunks +23 lines, -21 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
halyavin
8 years, 9 months ago (2012-03-20 18:26:17 UTC) #1
Mark Seaborn
LGTM with the changes below http://codereview.chromium.org/9748012/diff/3003/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): http://codereview.chromium.org/9748012/diff/3003/chrome/browser/nacl_host/nacl_process_host.cc#newcode49 chrome/browser/nacl_host/nacl_process_host.cc:49: static const char dummy[1<<16]="1"; ...
8 years, 9 months ago (2012-03-21 20:41:29 UTC) #2
halyavin
https://chromiumcodereview.appspot.com/9748012/diff/3003/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://chromiumcodereview.appspot.com/9748012/diff/3003/chrome/browser/nacl_host/nacl_process_host.cc#newcode49 chrome/browser/nacl_host/nacl_process_host.cc:49: static const char dummy[1<<16]="1"; On 2012/03/21 20:41:29, Mark Seaborn ...
8 years, 9 months ago (2012-03-22 08:35:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halyavin@google.com/9748012/12003
8 years, 9 months ago (2012-03-22 11:38:54 UTC) #4
commit-bot: I haz the power
8 years, 9 months ago (2012-03-22 13:08:38 UTC) #5
Change committed as 128201

Powered by Google App Engine
This is Rietveld 408576698