DescriptionObjects should be unrefed instead of deleted
When an error occurs reading a flattenable object, it should be unrefed instead of deleted because, in the case of SkXferMode, for example, we'd actually be deleting a cached object kept in a static array.
BUG=428789
Committed: https://skia.googlesource.com/skia/+/8b602ddd59f7016f50b4ea27dacfe4788cf07c14
Patch Set 1 #Patch Set 2 : Use after free issue fixed #
Messages
Total messages: 6 (2 generated)
|