diff options
Diffstat (limited to 'gs/base/gdevpdf.c')
-rw-r--r-- | gs/base/gdevpdf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gs/base/gdevpdf.c b/gs/base/gdevpdf.c index 0e45e8c99..6e9c57990 100644 --- a/gs/base/gdevpdf.c +++ b/gs/base/gdevpdf.c @@ -1745,6 +1745,8 @@ pdf_close(gx_device * dev) pdev->Catalog = 0; pdev->Info = 0; + memset(&pdev->outline_levels, 0x00, MAX_OUTLINE_DEPTH * sizeof(pdf_outline_level_t)); + { /* pdf_open_dcument could set up filters for entire document. Removing them now. */ |