diff options
author | Thomas White <taw@physics.org> | 2020-09-04 16:05:41 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-04 16:05:41 +0200 |
commit | 9009aa0f54c327ff115bb838f0876a3a43495e5e (patch) | |
tree | ccf41b32d081e29fd6f4ebbac7229c85229f44aa /src/gui_backend_local.c | |
parent | 9fd148bcb8047a8fe43ad776f9555aaac152c887 (diff) |
Local BE: duplicate job title
add_result() takes ownership of all of these
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c index e63d8379..1bddc1be 100644 --- a/src/gui_backend_local.c +++ b/src/gui_backend_local.c @@ -259,7 +259,7 @@ static void *run_indexing(const char *job_title, streams = malloc(sizeof(char *)); if ( streams != NULL ) { streams[0] = strdup("crystfel.stream"); - add_result(proj, job_title, streams, 1); + add_result(proj, strdup(job_title), streams, 1); } return job; } |