[gimp] app: fix memory leak in previous commit



commit 08ebcce2fa43be8e14de459bdeb2ae18568446e9
Author: Ell <ell_se yahoo com>
Date:   Thu May 30 02:41:43 2019 -0400

    app: fix memory leak in previous commit

 app/tools/gimpmovetool.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/app/tools/gimpmovetool.c b/app/tools/gimpmovetool.c
index 266ee700c8..98e0500c81 100644
--- a/app/tools/gimpmovetool.c
+++ b/app/tools/gimpmovetool.c
@@ -531,6 +531,10 @@ gimp_move_tool_oper_update (GimpTool         *tool,
 
       gimp_draw_tool_resume (draw_tool);
     }
+  else
+    {
+      g_list_free (guides);
+    }
 }
 
 static void


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