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

Issue 1410543005: Always dispose backing store. (Closed)

Created:
5 years, 2 months ago by vogelheim
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Always dispose backing store. (With a v8::Vector, the client is responsible for memory management. I think there can be a situation where the Vector has a char[1] backing store with '\0' in it, in which case the current code would leak. If we always Dispose() the backing store this should be avoided. Since dispose will delete[] the actual backing store, this should also work then the backing store is nullptr.) R=jochen@chromium.org BUG=chromium:525885 LOG=N Committed: https://crrev.com/7770e021297ac7ad902b8271be049f45b9090e7c Cr-Commit-Position: refs/heads/master@{#31446}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -5 lines) Patch
M src/scanner.h View 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
vogelheim
Bug fixing by deleting code. \o/
5 years, 2 months ago (2015-10-21 13:51:33 UTC) #1
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-10-21 13:53:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410543005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410543005/1
5 years, 2 months ago (2015-10-21 15:26:01 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/6901)
5 years, 2 months ago (2015-10-21 15:28:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410543005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410543005/1
5 years, 2 months ago (2015-10-21 15:29:02 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 2 months ago (2015-10-21 15:30:07 UTC) #10
commit-bot: I haz the power
5 years, 2 months ago (2015-10-21 15:30:32 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7770e021297ac7ad902b8271be049f45b9090e7c
Cr-Commit-Position: refs/heads/master@{#31446}

Powered by Google App Engine
This is Rietveld 408576698