summaryrefslogtreecommitdiff
path: root/pdf/pdf_store.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-09-21 17:29:51 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-09-21 17:29:51 +0200
commitf783c31203be2dbd7a28c89557014f97a367bec9 (patch)
tree8faea8d21fa44b99226af34a13f33c6a0e1f7182 /pdf/pdf_store.c
parentaa7668835afffd5a2a496a60ed6edb672f5af1a7 (diff)
downloadmupdf-f783c31203be2dbd7a28c89557014f97a367bec9.tar.xz
Add warning context.
Diffstat (limited to 'pdf/pdf_store.c')
-rw-r--r--pdf/pdf_store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_store.c b/pdf/pdf_store.c
index c8b8ba1c..4d20e859 100644
--- a/pdf/pdf_store.c
+++ b/pdf/pdf_store.c
@@ -56,7 +56,7 @@ pdf_store_item(fz_context *ctx, pdf_store *store, pdf_store_keep_fn *keep_func,
refkey.drop_func = drop_func;
refkey.num = fz_to_num(key);
refkey.gen = fz_to_gen(key);
- fz_hash_insert(ctx, store->hash, &refkey, item);
+ fz_hash_insert(store->hash, &refkey, item);
}
else
{
@@ -191,7 +191,7 @@ void
pdf_free_store(fz_context *ctx, pdf_store *store)
{
pdf_age_store(ctx, store, 0);
- fz_free_hash(ctx, store->hash);
+ fz_free_hash(store->hash);
fz_free(ctx, store);
}