app: fix leaked queue created at init() (as reported by Massimo).

This commit is contained in:
Jehan
2021-08-16 12:16:52 +02:00
parent 2d1d2340db
commit 70f2192bff

View File

@ -1054,6 +1054,7 @@ gimp_stroke_real_duplicate (GimpStroke *stroke)
"name", gimp_object_get_name (stroke),
NULL);
g_queue_free_full (new_stroke->anchors, (GDestroyNotify) gimp_anchor_free);
new_stroke->anchors = g_queue_copy (stroke->anchors);
for (list = new_stroke->anchors->head; list; list = g_list_next (list))