diff options
Diffstat (limited to 'source/fitz/buffer.c')
-rw-r--r-- | source/fitz/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/buffer.c b/source/fitz/buffer.c index acfdc20a..12de453a 100644 --- a/source/fitz/buffer.c +++ b/source/fitz/buffer.c @@ -370,7 +370,7 @@ fz_test_buffer_write(fz_context *ctx) fprintf(stderr, "Copied buffer is different!\n"); fz_seek(stm, 0, 0); } - fz_close(stm); + fz_drop_stream(stm); fz_drop_buffer(ctx, master); fz_drop_buffer(ctx, copy); } |