summaryrefslogtreecommitdiff
path: root/source/html/html-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-layout.c')
-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);