diff options
author | Thomas White <taw@physics.org> | 2019-01-25 09:31:34 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-01-28 14:55:31 +0100 |
commit | 9b1d07ba6ed79d2b32b1e8fa92bd93628f66b1c0 (patch) | |
tree | 12f43425f32555c4c0145b5fba1465302d2398d3 /libcrystfel/src/stream.h | |
parent | 9d7a9223c780ff9ce75fa4ccac2321a011ae640b (diff) |
partialator: Fix multiple memory leaks
Diffstat (limited to 'libcrystfel/src/stream.h')
-rw-r--r-- | libcrystfel/src/stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.h b/libcrystfel/src/stream.h index a8e3e2ee..bd7aa690 100644 --- a/libcrystfel/src/stream.h +++ b/libcrystfel/src/stream.h @@ -106,6 +106,8 @@ extern Stream *open_stream_fd_for_write(int fd); extern int get_stream_fd(Stream *st); extern void close_stream(Stream *st); +extern void free_stuff_from_stream(struct stuff_from_stream *sfs); + extern int read_chunk(Stream *st, struct image *image); extern int read_chunk_2(Stream *st, struct image *image, StreamReadFlags srf); |