summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xps/xpstop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xps/xpstop.c b/xps/xpstop.c
index 7328e2241..b89ce574b 100644
--- a/xps/xpstop.c
+++ b/xps/xpstop.c
@@ -409,8 +409,10 @@ xps_impl_deallocate_interp_instance(pl_interp_implementation_t *impl)
409 rc_decrement_cs(ctx->srgb, "xps_impl_deallocate_interp_instance"); 409 rc_decrement_cs(ctx->srgb, "xps_impl_deallocate_interp_instance");
410 rc_decrement_cs(ctx->scrgb, "xps_impl_deallocate_interp_instance"); 410 rc_decrement_cs(ctx->scrgb, "xps_impl_deallocate_interp_instance");
411 411
412 gx_pattern_cache_free(ctx->pgs->pattern_cache);
412 gs_gstate_free(ctx->pgs); 413 gs_gstate_free(ctx->pgs);
413 414
415 gs_free_object(mem, ctx->start_part, "xps_impl_deallocate_interp_instance");
414 gs_free_object(mem, ctx->fontdir, "xps_impl_deallocate_interp_instance"); 416 gs_free_object(mem, ctx->fontdir, "xps_impl_deallocate_interp_instance");
415 gs_free_object(mem, ctx, "xps_impl_deallocate_interp_instance"); 417 gs_free_object(mem, ctx, "xps_impl_deallocate_interp_instance");
416 gs_free_object(mem, instance, "xps_impl_deallocate_interp_instance"); 418 gs_free_object(mem, instance, "xps_impl_deallocate_interp_instance");