From c5e24d3458ff7bb6ab4586b3f88d989e65a2cb1c Mon Sep 17 00:00:00 2001 From: Igor Date: Thu, 11 Apr 2019 16:06:31 -0400 Subject: [PATCH] Fix memory leak when closing an image --- src/image_list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/image_list.c b/src/image_list.c index fcd7d15..9665ed4 100644 --- a/src/image_list.c +++ b/src/image_list.c @@ -649,6 +649,7 @@ rstto_image_list_remove_all (RsttoImageList *image_list) gtk_tree_path_append_index(path_, i); gtk_tree_model_row_deleted(GTK_TREE_MODEL(image_list), path_); + gtk_tree_path_free (path_); image_iter = g_list_next (image_iter); } -- GitLab