Commit c5e24d34 authored by Igor's avatar Igor

Fix memory leak when closing an image

parent a35f5153
...@@ -649,6 +649,7 @@ rstto_image_list_remove_all (RsttoImageList *image_list) ...@@ -649,6 +649,7 @@ rstto_image_list_remove_all (RsttoImageList *image_list)
gtk_tree_path_append_index(path_, i); gtk_tree_path_append_index(path_, i);
gtk_tree_model_row_deleted(GTK_TREE_MODEL(image_list), path_); gtk_tree_model_row_deleted(GTK_TREE_MODEL(image_list), path_);
gtk_tree_path_free (path_);
image_iter = g_list_next (image_iter); image_iter = g_list_next (image_iter);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment