summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/pdf/pdf-object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c
index f8ece944..16fab07c 100644
--- a/source/pdf/pdf-object.c
+++ b/source/pdf/pdf-object.c
@@ -1409,8 +1409,7 @@ pdf_obj *pdf_new_obj_from_str(pdf_document *doc, const char *src)
}
fz_catch(ctx)
{
- fz_rethrow_if(ctx, FZ_ERROR_TRYLATER);
- return NULL;
+ fz_rethrow(ctx);
}
return result;