aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index c83cfbec..d0b6e1cc 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -252,10 +252,10 @@ static void finddata_response_sig(GtkWidget *dialog, gint resp,
crystfel_image_view_set_image(CRYSTFEL_IMAGE_VIEW(proj->imageview),
NULL, NULL);
- free(proj->geom_filename);
+ g_free(proj->geom_filename);
proj->geom_filename = geom_filename;
- free(proj->data_top_folder);
+ g_free(proj->data_top_folder);
proj->data_top_folder = g_file_get_path(top);
crystfel_image_view_set_datatemplate(CRYSTFEL_IMAGE_VIEW(proj->imageview),