diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-10-01 18:06:16 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-10-12 15:50:49 +0800 |
commit | f3da0a43f59d0d49a912f46c51f44432087d782a (patch) | |
tree | 910c98611f3d7c289663e3e8467116749c1d9f5c /source/tests | |
parent | ebf7c785547cea1d3a15101d03104a10bb9947ed (diff) | |
download | mupdf-f3da0a43f59d0d49a912f46c51f44432087d782a.tar.xz |
Keep cmm instance around until all colorspaces have been dropped.
By setting ctx->cmm_instance == NULL we actively made sure that
fz_cmm_fin_profile() would never call ->fin_profile() to actually
clean up the ICC profiles.
This could be triggered by doing mutool draw -N even without a
file name, triggering a memory leak.
Diffstat (limited to 'source/tests')
0 files changed, 0 insertions, 0 deletions