diff options
-rw-r--r-- | source/fitz/load-pnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/load-pnm.c b/source/fitz/load-pnm.c index 36842eda..be7a6232 100644 --- a/source/fitz/load-pnm.c +++ b/source/fitz/load-pnm.c @@ -686,7 +686,7 @@ pnm_read_image(fz_context *ctx, struct info *pnm, const unsigned char *p, size_t { const unsigned char *e = p + total; char signature[3] = { 0 }; - fz_pixmap *pix; + fz_pixmap *pix = NULL; while (p < e && ((!onlymeta && subimage >= 0) || onlymeta)) { |