diff options
author | Chris Palmer <palmer@chromium.org> | 2017-06-30 14:01:36 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-30 21:15:46 +0000 |
commit | c2a68df83faee582f0d6741f05116505b72b9d5d (patch) | |
tree | feda1cd72cd420cf6601386992d033ec035696c9 /testing | |
parent | 573b10a8869b7fe1e17c2d27ddbfc3d6ef93ba43 (diff) | |
download | pdfium-c2a68df83faee582f0d6741f05116505b72b9d5d.tar.xz |
Use the right free function for ICC color profiles.chromium/3146
They are allocated with |opj_malloc| (which is just |malloc|), but we were
freeing them with |FX_Free|. But |FX_Free| recently changed to be
|PartitionFree|.
This is probably not the right ultimate fix, but it should solve the
high-occurence crash we're seeing in the short term.
BUG=chromium:737033
Change-Id: Ia162fe4e39731bd774d3eccb2357d9add26aa079
Reviewed-on: https://pdfium-review.googlesource.com/7230
Commit-Queue: Chris Palmer <palmer@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions