summaryrefslogtreecommitdiff
path: root/core/fxcrt
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-09-08 10:11:16 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-08 10:11:16 -0700
commit5c48effa667fbfc7a3ff7f03e73887347975bec5 (patch)
tree9c7586ccab22bbe4ef67e9180af0349358c81b72 /core/fxcrt
parent8c2a8cda1bdb9f57513af5a21a5d0ce32614e52b (diff)
downloadpdfium-5c48effa667fbfc7a3ff7f03e73887347975bec5.tar.xz
Fix leaks in class CFGAS_FontMgrImp
Two leak cases are addressed here: --In CFGAS_FontMgrImp::LoadFont(), calling LoadFace() is unnecessary since the following LoadFile() does the exact same thing. Calling LoadFace() without releasing the loaded face results in a leak; --|m_Hash2Fonts| in class CFGAS_FontMgrImp owns all the fonts stored in it. The fonts need to be deleted along with the container. BUG=pdfium:242 Review-Url: https://codereview.chromium.org/2322483003
Diffstat (limited to 'core/fxcrt')
0 files changed, 0 insertions, 0 deletions