diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-19 20:50:46 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-19 20:50:46 +0000 |
commit | dfa245914d586889b4786d9b006d3ff5dac41840 (patch) | |
tree | fe56fc7ea9be4a7788244476bf270512bdc35ab1 /fitz/stm_open.c | |
parent | bd0ebd25aad6abd19d98221caefc4d6566ec1e64 (diff) | |
download | mupdf-dfa245914d586889b4786d9b006d3ff5dac41840.tar.xz |
More memsqueezing fixes.
Diffstat (limited to 'fitz/stm_open.c')
-rw-r--r-- | fitz/stm_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/stm_open.c b/fitz/stm_open.c index fde4f964..45689502 100644 --- a/fitz/stm_open.c +++ b/fitz/stm_open.c @@ -154,8 +154,8 @@ fz_open_buffer(fz_context *ctx, fz_buffer *buf) { fz_stream *stm; - stm = fz_new_stream(ctx, buf, read_buffer, close_buffer); fz_keep_buffer(buf); + stm = fz_new_stream(ctx, buf, read_buffer, close_buffer); stm->seek = seek_buffer; stm->bp = buf->data; |