diff options
author | Thomas White <taw@physics.org> | 2020-07-02 12:12:29 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:44 +0200 |
commit | caaf96b2c39a0f3c39f6e87d67b628281410c858 (patch) | |
tree | 88b3f4288948572460c4df50cd940ad6bcc9bfb2 | |
parent | 6a02432f083ffec20a652faa246818e6999531d6 (diff) |
Use g_free where appropriate
-rw-r--r-- | src/crystfel_gui.c | 4 |
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), |