diff options
Diffstat (limited to 'fitz/res_store.c')
-rw-r--r-- | fitz/res_store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/res_store.c b/fitz/res_store.c index a7d780b2..f9f305d9 100644 --- a/fitz/res_store.c +++ b/fitz/res_store.c @@ -363,7 +363,7 @@ fz_remove_item(fz_context *ctx, fz_store_free_fn *free, void *key, fz_store_type fz_item *item; fz_store *store = ctx->store; int drop; - fz_store_hash hash; + fz_store_hash hash = { NULL }; int use_hash = 0; if (type->make_hash_key) @@ -471,7 +471,7 @@ fz_print_store(fz_context *ctx, FILE *out) next->val->refs++; fprintf(out, "store[*][refs=%d][size=%d] ", item->val->refs, item->size); fz_unlock(ctx, FZ_LOCK_ALLOC); - item->type->debug(item->key); + item->type->debug(out, item->key); fprintf(out, " = %p\n", item->val); fz_lock(ctx, FZ_LOCK_ALLOC); if (next) |