summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-03-10 00:11:40 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2008-03-10 00:11:40 +0100
commit33d22e85be3c4dc929273c5cce46ef0a46a8f790 (patch)
treec2d01bed7d3ed544b49654a6df9070dae9bec236
parent380426bd79afe2d02a46f9fe5ce59c64005e6675 (diff)
downloadmupdf-33d22e85be3c4dc929273c5cce46ef0a46a8f790.tar.xz
Properly report errors when encountering bad page trees.
-rw-r--r--mupdf/pdf_pagetree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mupdf/pdf_pagetree.c b/mupdf/pdf_pagetree.c
index 315c2bd2..f44e3ed9 100644
--- a/mupdf/pdf_pagetree.c
+++ b/mupdf/pdf_pagetree.c
@@ -177,7 +177,7 @@ cleanup:
fz_free(p->pobj);
fz_free(p);
}
- return nil;
+ return error;
}
int