summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorzeniko <zeniko@gmail.com>2013-06-01 21:33:12 +0200
committerRobin Watts <robin.watts@artifex.com>2013-06-03 16:22:04 +0100
commit24dc461099b9e50fea6d724a27979bb6e331d4aa (patch)
tree0ebae11177a17b727dd9126dc40c7bf55d123f5e /apps
parenta727aacc2d4feb0c6f5c609e05a0d5611aa97292 (diff)
downloadmupdf-24dc461099b9e50fea6d724a27979bb6e331d4aa.tar.xz
prevent memory leak and unexpected exception
fz_free_device usually doesn't throw (throwing in clean-up code is quite pointless anyway) but freeing the text extraction device might do so under memory pressure. This patch catches any potential exception to guarantee a proper clean-up.
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions