DescriptionProperly release caches in CPDF_DocRenderData
Currently, only RemoveRef() is being called when releasing. The problem
is that when the object is no longer being used, the map is not updated
accordingly. In the pdf in the bug below, the pointer of a font used in
the second page coincides with the pointer of a font in the first page
(that was released). So the cached values for the font in the first
page are used, resulting in incorrect rendering.
BUG=pdfium:629
Committed: https://pdfium.googlesource.com/pdfium/+/be83b31dc4f21e7be066ac1093fcd9b6aab058ed
Patch Set 1 #
Messages
Total messages: 14 (8 generated)
|