summaryrefslogtreecommitdiff
path: root/source/html
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-06-24 15:33:37 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-07-06 23:30:47 +0800
commit84aa0ee0901399bd5af61ecd73632634859c4267 (patch)
treef50d50aced6f26fb9b3015680e3d44a1d7d0ee8c /source/html
parentb0533a00efd919840d3712847c386084308538a0 (diff)
downloadmupdf-84aa0ee0901399bd5af61ecd73632634859c4267.tar.xz
fz_var() variables must be initialized before fz_try.
Diffstat (limited to 'source/html')
-rw-r--r--source/html/html-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index cb101394..9aacf09b 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -2308,8 +2308,8 @@ load_fb2_images(fz_context *ctx, fz_xml *root)
for (binary = fz_xml_find_down(fictionbook, "binary"); binary; binary = fz_xml_find_next(binary, "binary"))
{
const char *id = fz_xml_att(binary, "id");
- char *b64;
- fz_buffer *buf;
+ char *b64 = NULL;
+ fz_buffer *buf = NULL;
fz_image *img;
fz_var(b64);