diff options
author | npm <npm@chromium.org> | 2016-12-05 08:38:35 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-05 08:38:35 -0800 |
commit | 7341149c634e0ab9a619898826440f6e952cf0aa (patch) | |
tree | 18adc01f06da78ed46cfb1bbbd75e8540b499cd5 /core/fxge/include/cfx_fontcache.h | |
parent | f6ee820732b8717d32d85a47938172080067ce4e (diff) | |
download | pdfium-chromium/2943.tar.xz |
Fix a leak when TIFFRGBAImageBegin failschromium/2943
The method to create image can fail even after ycbcr has been set, so
the current way to release is not enough. TIFFRGBAImageEnd is safe in
that it checks for existence before deleting, and deletes whatever has
been created.
BUG=657473
Review-Url: https://codereview.chromium.org/2545723004
Diffstat (limited to 'core/fxge/include/cfx_fontcache.h')
0 files changed, 0 insertions, 0 deletions