From c5c635c4cf3e62c3741f222aec440a8fff55fad0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 27 Jan 2021 16:29:47 +0100 Subject: stream_close: Free the DataTemplate --- libcrystfel/src/stream.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libcrystfel') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 71f7bce8..1773f9c3 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -1284,6 +1284,7 @@ void stream_close(Stream *st) if ( st == NULL ) return; free(st->audit_info); free(st->geometry_file); + data_template_free(st->dtempl); fclose(st->fh); free(st); } -- cgit v1.2.3