[gimp/soc-2011-seamless-clone2] app: don't leak the rotate transform matrices when destroying the shell
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: don't leak the rotate transform matrices when destroying the shell
- Date: Wed, 8 May 2013 15:17:20 +0000 (UTC)
commit c08801295bdd248b7cc09076fc1114e1bbc902f0
Author: Michael Natterer <mitch gimp org>
Date: Sun Apr 21 02:40:41 2013 +0200
app: don't leak the rotate transform matrices when destroying the shell
app/display/gimpdisplayshell.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 3b4f227..f1a771a 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -843,6 +843,12 @@ gimp_display_shell_finalize (GObject *object)
g_object_unref (shell->zoom);
+ if (shell->rotate_transform)
+ g_free (shell->rotate_transform);
+
+ if (shell->rotate_untransform)
+ g_free (shell->rotate_untransform);
+
if (shell->options)
g_object_unref (shell->options);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]