aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdf_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf_parser.c')
-rw-r--r--src/pdf_parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pdf_parser.c b/src/pdf_parser.c
index d0affb6..bb45e63 100644
--- a/src/pdf_parser.c
+++ b/src/pdf_parser.c
@@ -146,8 +146,6 @@ pdf_load(pdf_object_t **pdf, FILE **fp, int size_buf)
if (buf == NULL)
return 1;
- memset(buf, 0, ptr->size);
-
fseek(*fp, ptr->address - 15, SEEK_SET);
fread(str, 8, 1, *fp);