diff options
author | Thomas White <taw@physics.org> | 2023-07-26 14:45:02 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-07-26 14:48:05 +0200 |
commit | 4038a12faab1ac3ef3e5c6aacd8850a58d8b9b2d (patch) | |
tree | 2b35298d8a28ebea757328ef79d015596653f646 /libcrystfel/src/image.c | |
parent | dea9ccdb72a0f715401a21907c1004de69fbabf1 (diff) |
Fix memory leaks in header caching
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r-- | libcrystfel/src/image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index c1c59eab..ee97397d 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -1358,6 +1358,7 @@ void image_free(struct image *image) } for ( i=0; i<image->n_cached_headers; i++ ) { + free(image->header_cache[i]->header_name); free(image->header_cache[i]); } |