summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-05 12:48:19 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-05 12:48:19 +0100
commit4184ba5d2930b337fddf3ad8e612a88adb08d8c1 (patch)
tree59b4e5f9c5abefb3f93ee235887945a4f1faa597 /fitz
parentb32c5d4f88835ad7b36946f8fcec47e809bcd11b (diff)
downloadmupdf-4184ba5d2930b337fddf3ad8e612a88adb08d8c1.tar.xz
Don't unlock a lock we don't own.
While debugging Bug 692943, I spotted a case where we can attempt to unlock the file while we don't hold the file lock due to an error being thrown while we momentarily drop that lock. Simple solution is to add a new fz_try()/fz_catch() to retake the lock in such an error circumstance.
Diffstat (limited to 'fitz')
0 files changed, 0 insertions, 0 deletions