From 9b1d07ba6ed79d2b32b1e8fa92bd93628f66b1c0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 25 Jan 2019 09:31:34 +0100 Subject: partialator: Fix multiple memory leaks --- libcrystfel/src/stream.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/stream.h') 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); -- cgit v1.2.3