diff options
Diffstat (limited to 'src/process_hkl.c')
-rw-r--r-- | src/process_hkl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/process_hkl.c b/src/process_hkl.c index 485e874a..10dd9f79 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -338,6 +338,10 @@ int main(int argc, char *argv[]) pdb = strdup("molecule.pdb"); } + if ( sym == NULL ) { + sym = strdup("1"); + } + model = new_list_intensity(); model_counts = new_list_count(); cell = load_cell_from_pdb(pdb); @@ -470,6 +474,7 @@ int main(int argc, char *argv[]) STATUS("%i had no f0 valid value.\n", n_nof0); delete_items(items); + free(sym); return 0; } |