diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/stream-open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/stream-open.c b/source/fitz/stream-open.c index 39994285..bc31c3b7 100644 --- a/source/fitz/stream-open.c +++ b/source/fitz/stream-open.c @@ -148,7 +148,7 @@ fz_stream *fz_open_file_ptr_no_close(fz_context *ctx, FILE *file) { fz_stream *stm = fz_open_file_ptr(ctx, file); /* We don't own the file ptr. Ensure we don't close it */ - stm->drop = NULL; + stm->drop = fz_free; return stm; } |