DescriptionAlways 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 #
Messages
Total messages: 11 (4 generated)
|