diff options
author | zeniko <zeniko@gmail.com> | 2013-06-01 21:33:12 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-06-03 16:22:04 +0100 |
commit | 24dc461099b9e50fea6d724a27979bb6e331d4aa (patch) | |
tree | 0ebae11177a17b727dd9126dc40c7bf55d123f5e /apps | |
parent | a727aacc2d4feb0c6f5c609e05a0d5611aa97292 (diff) | |
download | mupdf-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