summaryrefslogtreecommitdiff
path: root/source/fitz/store.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/store.c')
-rw-r--r--source/fitz/store.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fitz/store.c b/source/fitz/store.c
index e2303fd3..f94a8aa2 100644
--- a/source/fitz/store.c
+++ b/source/fitz/store.c
@@ -1,4 +1,5 @@
#include "mupdf/fitz.h"
+#include "fitz-imp.h"
#include <assert.h>
#include <limits.h>
@@ -660,9 +661,7 @@ fz_empty_store(fz_context *ctx)
fz_lock(ctx, FZ_LOCK_ALLOC);
/* Run through all the items in the store */
while (store->head)
- {
evict(ctx, store->head); /* Drops then retakes lock */
- }
fz_unlock(ctx, FZ_LOCK_ALLOC);
}