diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/events.c b/libcrystfel/src/events.c index 60727341..3062871d 100644 --- a/libcrystfel/src/events.c +++ b/libcrystfel/src/events.c @@ -622,6 +622,7 @@ struct dim_structure *default_dim_structure() void free_dim_structure(struct dim_structure *hsd) { + if ( hsd == NULL ) return; free(hsd->dims); free(hsd); } |