DescriptionThis fixes this leak:
==21532== 1,825,936 (1,779,668 direct, 46,268 indirect) bytes in 35 blocks are definitely lost in loss record 86 of 86
==21532== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21532== by 0x541C5C: sk_malloc_flags(unsigned long, unsigned int) (SkMemory_malloc.cpp:44)
==21532== by 0x4A0D90: SkTypeface::Deserialize(SkStream*) (SkTypeface.cpp:117)
==21532== by 0x46FEB0: SkPicturePlayback::parseStreamTag(SkStream*, SkPictInfo const&, unsigned int, unsigned long, bool (*)(void const*, unsigned long, SkBitmap*)) (SkPicturePlayback.cpp:511)
==21532== by 0x47059A: SkPicturePlayback::SkPicturePlayback(SkStream*, SkPictInfo const&, bool (*)(void const*, unsigned long, SkBitmap*)) (SkPicturePlayback.cpp:603)
==21532== by 0x46CA7D: SkPicture::initFromStream(SkStream*, bool*, bool (*)(void const*, unsigned long, SkBitmap*)) (SkPicture.cpp:293)
==21532== by 0x46C991: SkPicture::SkPicture(SkStream*, bool*, bool (*)(void const*, unsigned long, SkBitmap*)) (SkPicture.cpp:272)
==21532== by 0x4077D4: filter_picture(SkString const&, SkString const&) (filtermain.cpp:633)
==21532== by 0x408084: tool_main(int, char**) (filtermain.cpp:790)
==21532== by 0x408237: main (filtermain.cpp:810)
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|