DescriptionAdd an assert that we still have a buffer to readFromBuffer().
sk_free(fBuffer.detach()) means fBuffer will be left as NULL, not a zero-length malloc.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/1f66e4539177297545270ff3cbd1d8fa6c3481ac
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|