DescriptionVM: Fix incorrect free in TryReadKernel.
SniffForMagicNumber updates buffer pointer to skip snapshot magic number.
Thus we have to preserve and pass original buffer pointer to the free(...) call.
R=kustermann@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/eb38fb5d6768e11f9255fbb1399179be0043e4c6
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|