diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-10-15 01:55:05 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-10-18 21:32:14 +0800 |
commit | ce82537df9e4b832213138d942be4482418b9e50 (patch) | |
tree | 77745cba1b3c7ffaca9db4876e20993fc0495801 /source/html | |
parent | 23ac569165b66403abfe72e89007675ceaa9bde0 (diff) | |
download | mupdf-ce82537df9e4b832213138d942be4482418b9e50.tar.xz |
All external drop functions handles NULL.
Diffstat (limited to 'source/html')
-rw-r--r-- | source/html/html-font.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/html/html-font.c b/source/html/html-font.c index 01ec10f5..48c04b73 100644 --- a/source/html/html-font.c +++ b/source/html/html-font.c @@ -86,6 +86,9 @@ void fz_drop_html_font_set(fz_context *ctx, fz_html_font_set *set) fz_html_font_face *font, *next; int i; + if (!set) + return; + font = set->custom; while (font) { |