diff options
Diffstat (limited to 'source/fitz/store.c')
-rw-r--r-- | source/fitz/store.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fitz/store.c b/source/fitz/store.c index dcef6b86..2013af8c 100644 --- a/source/fitz/store.c +++ b/source/fitz/store.c @@ -238,7 +238,7 @@ void *fz_keep_key_storable_key(fz_context *ctx, const fz_key_storable *sc) return s; } -void fz_drop_key_storable_key(fz_context *ctx, const fz_key_storable *sc) +int fz_drop_key_storable_key(fz_context *ctx, const fz_key_storable *sc) { /* Explicitly drop const to allow us to use const * sanely throughout the code. */ @@ -264,6 +264,7 @@ void fz_drop_key_storable_key(fz_context *ctx, const fz_key_storable *sc) */ if (drop) s->storable.drop(ctx, &s->storable); + return drop; } static void |