diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2018-07-17 11:29:54 +0100 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2018-07-17 14:57:51 +0100 |
commit | dd6e3d0366edec75541666a01b3ddd513ba02903 (patch) | |
tree | 3c708dcdf07d1af24a0c285bf8d8f5ff1681ba22 /source/fitz | |
parent | 9ce347b409ef0416513698e68ca662ff64935886 (diff) | |
download | mupdf-dd6e3d0366edec75541666a01b3ddd513ba02903.tar.xz |
Fix memory leaks in document signing functions
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; } |