summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-03-31 14:18:02 +0100
committerRobin Watts <robin.watts@artifex.com>2017-03-31 14:57:38 +0100
commita0c30b512ff66fe18fdca0cd0eb240b60c95b42a (patch)
tree5f2b70826f280a326cedb96eef66f49200fff2c1 /include
parent4594d29875ce6cba8132e2051360b06131323c5b (diff)
downloadmupdf-a0c30b512ff66fe18fdca0cd0eb240b60c95b42a.tar.xz
Fix leaks of reaped object keys.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/store.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mupdf/fitz/store.h b/include/mupdf/fitz/store.h
index a93fca47..57b817fc 100644
--- a/include/mupdf/fitz/store.h
+++ b/include/mupdf/fitz/store.h
@@ -58,7 +58,7 @@ void *fz_keep_key_storable(fz_context *, const fz_key_storable *);
int fz_drop_key_storable(fz_context *, const fz_key_storable *);
void *fz_keep_key_storable_key(fz_context *, const fz_key_storable *);
-void fz_drop_key_storable_key(fz_context *, const fz_key_storable *);
+int fz_drop_key_storable_key(fz_context *, const fz_key_storable *);
static inline int fz_key_storable_needs_reaping(fz_context *ctx, const fz_key_storable *ks)
{