-
Clemens Backes authored
Asan complains about the alloc-dealloc-mismatch because the startup data is allocated via "new[]" in snapshot.cc and deallocated via "delete" in inspector-test.cc. A more failure-proof fix would be to have {StartupData} manage the lifetime of the contained char*, but since this is in an API object, the refactoring might be more involved. Since other users also just dealloc explicitly via "delete[]", this CL just fixes the issue in inspector-test.cc. R=szuend@chromium.org Bug: chromium:1142437, v8:11107 Change-Id: I84438b2f12ce8eb6b653d4861e899a2f003e1227 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2523200 Commit-Queue: Clemens Backes <clemensb@chromium.org> Reviewed-by:
Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/master@{#71045}
eeaf7c86
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
benchmarks | ||
cctest | ||
common | ||
debugger | ||
debugging | ||
fuzzer | ||
fuzzilli | ||
inspector | ||
intl | ||
js-perf-test | ||
memory | ||
message | ||
mjsunit | ||
mkgrokdump | ||
mozilla | ||
test262 | ||
torque | ||
unittests | ||
wasm-api-tests | ||
wasm-js | ||
wasm-spec-tests | ||
webkit | ||
BUILD.gn | ||
OWNERS |