summaryrefslogtreecommitdiff
path: root/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'pdf')
-rw-r--r--pdf/pdf_colour.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pdf/pdf_colour.c b/pdf/pdf_colour.c
index cdbc73700..dbd14d145 100644
--- a/pdf/pdf_colour.c
+++ b/pdf/pdf_colour.c
@@ -2611,7 +2611,6 @@ static int pdfi_create_DeviceRGB(pdf_context *ctx, gs_color_space **ppcs)
}
} else {
code = pdfi_gs_setrgbcolor(ctx, 0, 0, 0);
- pdfi_set_colour_callback(ctx->pgs->color[0].color_space, ctx, pdfi_cspace_free_callback);
}
return code;
}