summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-08-05 15:37:56 +0200
committerSebastian Rasmussen <sebras@gmail.com>2012-08-06 14:01:05 +0200
commit0fda4705b3194d2158f4dd3998981884cb3e8570 (patch)
tree5146357e7d81388f0181fc8fe15dc5feed009ec5 /Makethird
parent0a19ed89da833569e014a05e2077a0819a91e5aa (diff)
downloadmupdf-0fda4705b3194d2158f4dd3998981884cb3e8570.tar.xz
Upon parse error when repairing, make sure object stream is freed
Previously, during repair of a pdf, an object stream was loaded and an attempt was made at repairing the objects stored inside the object stream. Failure to repair the stream caused an exception which was not handled by the code loading the object stream, it was just passed on. This meant that the loaded object stream caused a memory leak. Now we catch that exception, free the object stream and rethrow the exception.
Diffstat (limited to 'Makethird')
0 files changed, 0 insertions, 0 deletions