diff options
Diffstat (limited to 'source/fitz/stream-open.c')
-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 813b7099..39994285 100644 --- a/source/fitz/stream-open.c +++ b/source/fitz/stream-open.c @@ -232,7 +232,7 @@ fz_open_memory(fz_context *ctx, const unsigned char *data, size_t len) { fz_stream *stm; - stm = fz_new_stream(ctx, NULL, next_buffer, drop_buffer); + stm = fz_new_stream(ctx, NULL, next_buffer, NULL); stm->seek = seek_buffer; stm->rp = (unsigned char *)data; |