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

Issue 11193024: The snapshot buffer was being released too early resulting in weird crashes. (Closed)

Created:
8 years, 2 months ago by siva
Modified:
8 years, 2 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

The snapshot buffer was being released too early resulting in weird crashes. Committed: https://code.google.com/p/dart/source/detail?r=13749

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M runtime/bin/gen_snapshot.cc View 2 chunks +2 lines, -1 line 2 comments Download

Messages

Total messages: 4 (0 generated)
siva
8 years, 2 months ago (2012-10-17 17:33:27 UTC) #1
srdjan
lgtm
8 years, 2 months ago (2012-10-17 17:45:35 UTC) #2
Ivan Posva
https://codereview.chromium.org/11193024/diff/1/runtime/bin/gen_snapshot.cc File runtime/bin/gen_snapshot.cc (right): https://codereview.chromium.org/11193024/diff/1/runtime/bin/gen_snapshot.cc#newcode362 runtime/bin/gen_snapshot.cc:362: free(error); "Leaking" the snapshot_buffer here.
8 years, 2 months ago (2012-10-18 05:45:52 UTC) #3
siva
8 years, 2 months ago (2012-10-18 17:55:42 UTC) #4
https://codereview.chromium.org/11193024/diff/1/runtime/bin/gen_snapshot.cc
File runtime/bin/gen_snapshot.cc (right):

https://codereview.chromium.org/11193024/diff/1/runtime/bin/gen_snapshot.cc#n...
runtime/bin/gen_snapshot.cc:362: free(error);
Fixing in a new CL.

On 2012/10/18 05:45:52, Ivan Posva wrote:
> "Leaking" the snapshot_buffer here.

Powered by Google App Engine
This is Rietveld 408576698