diff options
-rw-r--r-- | psi/int.mak | 2 | ||||
-rw-r--r-- | psi/zpdfops.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/psi/int.mak b/psi/int.mak index 0ce29a7fe..ca78caa1f 100644 --- a/psi/int.mak +++ b/psi/int.mak @@ -1812,7 +1812,7 @@ $(PSD)pdfops.dev : $(ECHOGS_XE) $(zpdfops_) $(INT_MAK) $(MAKEDIRS) $(PSOBJ)zpdfops.$(OBJ) : $(PSSRC)zpdfops.c $(OP) $(MAKEFILE)\ $(ghost_h) $(gsmchunk_h) $(oper_h) \ $(igstate_h) $(istack_h) $(iutil_h) $(gspath_h) $(math__h) $(ialloc_h)\ - $(string__h) $(store_h) $(iminst_h) $(idstack_h) $(INT_MAK) $(MAKEDIRS) + $(igc_h) $(string__h) $(store_h) $(iminst_h) $(idstack_h) $(INT_MAK) $(MAKEDIRS) $(PSCC) $(PSO_)zpdfops.$(OBJ) $(C_) $(PSSRC)zpdfops.c zutf8_=$(PSOBJ)zutf8.$(OBJ) diff --git a/psi/zpdfops.c b/psi/zpdfops.c index af93bd06a..d4a470886 100644 --- a/psi/zpdfops.c +++ b/psi/zpdfops.c @@ -42,6 +42,7 @@ #include "gspath.h" #include "math_.h" #include "ialloc.h" +#include "igc.h" /* needed for definition of gc_state for the ref_struct_clear_marks call */ #include "malloc_.h" #include "string_.h" #include "store.h" @@ -462,6 +463,7 @@ ENUM_PTRS_END static RELOC_PTRS_BEGIN(pdfctx_reloc_ptrs); RELOC_REF_VAR(((pdfctx_t *)vptr)->names_dict); +ref_struct_clear_marks(gcst->cur_mem, &(((pdfctx_t *)vptr)->names_dict), 1, pstype); RELOC_PTR3(pdfctx_t, ps_stream, pdf_stream, profile_cache); RELOC_PTRS_END |