diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-10-01 15:13:13 +0800 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-10-23 18:46:01 +0200 |
commit | 351c99d8ce23bbf7099dbd52771a095f67e45a2c (patch) | |
tree | a83de74b349bf89bcdd23f543b28825e53404170 /source/pdf/pdf-metrics.c | |
parent | fa4cdfca9ec3034dbe54e1cb08c8b97e9ebed46d (diff) | |
download | mupdf-351c99d8ce23bbf7099dbd52771a095f67e45a2c.tar.xz |
Avoid being smart about keeping only a single reference to the buffer.
When pdf_dev_pop() is called it will drop the reference to the buffer.
pdf_dev_push_new_buf() will either create a new buffer reference or take a reference to the existing buffer.
When pdf_dev_pop() is called unbalance this creates a problem as the
top level buffer will be unreferenced too many times.
fails-32.pdf
Diffstat (limited to 'source/pdf/pdf-metrics.c')
0 files changed, 0 insertions, 0 deletions