[gimp/gimp-2-10] app: fix memory leak in previous commit
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: fix memory leak in previous commit
- Date: Thu, 30 May 2019 06:44:07 +0000 (UTC)
commit 80ea17d90b8ad7ace63d263d2f202092c3058596
Author: Ell <ell_se yahoo com>
Date: Thu May 30 02:41:43 2019 -0400
app: fix memory leak in previous commit
(cherry picked from commit 08ebcce2fa43be8e14de459bdeb2ae18568446e9)
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]