summaryrefslogtreecommitdiff
path: root/fitz/base_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/base_context.c')
-rw-r--r--fitz/base_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/base_context.c b/fitz/base_context.c
index d1ce63ae..2eeb6683 100644
--- a/fitz/base_context.c
+++ b/fitz/base_context.c
@@ -122,7 +122,7 @@ fz_clone_context_internal(fz_context *ctx)
if (ctx == NULL || ctx->alloc == NULL)
return NULL;
new_ctx = new_context_phase1(ctx->alloc, ctx->locks);
- new_ctx->store = fz_store_keep(ctx);
+ new_ctx->store = fz_keep_store_context(ctx);
new_ctx->glyph_cache = fz_keep_glyph_cache(ctx);
new_ctx->font = fz_keep_font_context(ctx);
return new_ctx;