summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/device.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-06-11 23:11:42 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-09-07 21:02:53 +0800
commit8cb0a389794356d7b6624f78365a5e92efdeb8e8 (patch)
treef05e3442351a46af3e4d5209f8b754c6b33f948f /include/mupdf/fitz/device.h
parenta27d9903ec238af6e4c1c59de1e1dae817b4f028 (diff)
downloadmupdf-8cb0a389794356d7b6624f78365a5e92efdeb8e8.tar.xz
Make sure to always drop a fz_device even upon error.
Diffstat (limited to 'include/mupdf/fitz/device.h')
-rw-r--r--include/mupdf/fitz/device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mupdf/fitz/device.h b/include/mupdf/fitz/device.h
index 0198a3e6..891f3aad 100644
--- a/include/mupdf/fitz/device.h
+++ b/include/mupdf/fitz/device.h
@@ -161,7 +161,8 @@ void fz_close_device(fz_context *ctx, fz_device *dev);
/*
fz_drop_device: Free a device of any type and its resources.
- Don't forget to call fz_close_device before dropping the device, or you may get incomplete output!
+ Don't forget to call fz_close_device before dropping the device,
+ or you may get incomplete output!
*/
void fz_drop_device(fz_context *ctx, fz_device *dev);