diff options
-rw-r--r-- | src/cell.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ UnitCell *cell_new() void cell_free(UnitCell *cell) { + if ( cell == NULL ) return; free(cell->pointgroup); free(cell); } |
![]() |
index : CrystFEL | |
Data processing for serial crystallography | Thomas White |
aboutsummaryrefslogtreecommitdiff |
-rw-r--r-- | src/cell.c | 1 |
@@ -88,6 +88,7 @@ UnitCell *cell_new() void cell_free(UnitCell *cell) { + if ( cell == NULL ) return; free(cell->pointgroup); free(cell); } |