diff options
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r-- | src/post-refinement.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 16ab41ce..b3ce79c1 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -336,9 +336,7 @@ void write_test_logs(Crystal *crystal, const RefList *full, } if ( cycle == 0 ) { - char *evstr = get_event_string(image->event); - fprintf(fh, "Image: %s %s\n", image->filename, evstr); - free(evstr); + fprintf(fh, "Image: %s %s\n", image->filename, image->ev); } if ( cycle >= 0 ) { @@ -393,10 +391,8 @@ void write_specgraph(Crystal *crystal, const RefList *full, } if ( cycle == 0 ) { - char *evstr = get_event_string(image->event); - fprintf(fh, "Image: %s %s\n", image->filename, evstr); + fprintf(fh, "Image: %s %s\n", image->filename, image->ev); fprintf(fh, "khalf/m 1/d(m) pcalc pobs iteration h k l\n"); - free(evstr); } cell = crystal_get_cell(crystal); |