[gimp/gimp-2-10] app: fix leaked queue created at init() (as reported by Massimo).
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: fix leaked queue created at init() (as reported by Massimo).
- Date: Mon, 16 Aug 2021 13:08:58 +0000 (UTC)
commit 9a023e38172c38ee800b94b104e6a3d67a875ea6
Author: Jehan <jehan girinstud io>
Date: Mon Aug 16 12:16:52 2021 +0200
app: fix leaked queue created at init() (as reported by Massimo).
(cherry picked from commit 70f2192bffe076b369d1071b882fad2a4c563f11)
app/vectors/gimpstroke.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/app/vectors/gimpstroke.c b/app/vectors/gimpstroke.c
index 13db273440..3a3ab900d3 100644
--- a/app/vectors/gimpstroke.c
+++ b/app/vectors/gimpstroke.c
@@ -992,6 +992,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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]