diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2010-08-07 14:28:25 +0000 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2010-08-07 14:28:25 +0000 |
commit | 14c3cd048bb7a4b87a603d35b8d1ceba7920432f (patch) | |
tree | 5ba90fae7e2be4ef8752974a3aa9696096451317 | |
parent | 1f2595c8c65b543f0c7a071fa30ec72ad7a67d2f (diff) | |
download | mupdf-14c3cd048bb7a4b87a603d35b8d1ceba7920432f.tar.xz |
Fix typo in pdfclean that caused a segfault.
-rw-r--r-- | apps/pdfclean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c index cd5ed688..733bf056 100644 --- a/apps/pdfclean.c +++ b/apps/pdfclean.c @@ -240,7 +240,7 @@ static void renumberobjs(void) /* Create new table for the reordered, compacted xref */ oldxref = xref->table; xref->table = fz_malloc(xref->cap * sizeof (pdf_xrefentry)); - xref->table[0] = oldxref[num]; + xref->table[0] = oldxref[0]; /* Move used objects into the new compacted xref */ newlen = 0; |