DescriptionNo need to release resources in destructor of CPDF_ShadingObject
CPDF_DocPageData::~CPDF_DocPageData() will force to release all resources, so no need to do it here, which can result in heap-use-after-free trouble.
BUG=408164
R=jun_fang@foxitsoftware.com, tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/f105b19
Patch Set 1 #
Total comments: 2
Messages
Total messages: 9 (0 generated)
|