summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c
index 16fab07c..344d5087 100644
--- a/source/pdf/pdf-object.c
+++ b/source/pdf/pdf-object.c
@@ -661,6 +661,8 @@ pdf_array_insert_drop(pdf_obj *obj, pdf_obj *item, int i)
void
pdf_array_delete(pdf_obj *obj, int i)
{
+ RESOLVE(obj);
+
if (!obj)
return; /* Can't warn :( */
if (obj->kind != PDF_ARRAY)