diff options
-rw-r--r-- | source/pdf/pdf-layer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-layer.c b/source/pdf/pdf-layer.c index d86f16af..bf81a5c1 100644 --- a/source/pdf/pdf-layer.c +++ b/source/pdf/pdf-layer.c @@ -324,6 +324,7 @@ pdf_drop_ocg(fz_context *ctx, pdf_document *doc) if (!desc) return; + drop_ui(ctx, desc); pdf_drop_obj(ctx, desc->intent); for (i = 0; i < desc->len; i++) pdf_drop_obj(ctx, desc->ocgs[i].obj); |