aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-01-27 16:29:47 +0100
committerThomas White <taw@physics.org>2021-01-27 16:29:47 +0100
commitc5c635c4cf3e62c3741f222aec440a8fff55fad0 (patch)
tree4e9f31058f90de4ffa90bc23c37dc92d28fe986c /libcrystfel
parent18c5fa7e14e37e1949a71ec994abf99763425978 (diff)
stream_close: Free the DataTemplate
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/stream.c1
1 files changed, 1 insertions, 0 deletions
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);
}