[gimp] app: free leaking drawable list (as reported by Massimo).



commit c7b3c3c629b5cf7e75e186f91ec82d2275b458f0
Author: Jehan <jehan girinstud io>
Date:   Sat Aug 14 13:35:48 2021 +0200

    app: free leaking drawable list (as reported by Massimo).

 app/tools/gimpbucketfilltool.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/app/tools/gimpbucketfilltool.c b/app/tools/gimpbucketfilltool.c
index 1c323fef44..18c6662ffb 100644
--- a/app/tools/gimpbucketfilltool.c
+++ b/app/tools/gimpbucketfilltool.c
@@ -879,6 +879,8 @@ gimp_bucket_fill_tool_cursor_update (GimpTool         *tool,
               break;
             }
         }
+
+      g_list_free (drawables);
     }
 
   gimp_tool_control_set_cursor_modifier (tool->control, modifier);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]